aboutsummaryrefslogtreecommitdiff
path: root/tclasm.tcl
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:20:38 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:20:38 +0200
commitd5c877247834fc25689ca6cf7530cd8d1b870d3a (patch)
tree261c4382f22f4a0918a60f4e899b0e41850b4636 /tclasm.tcl
parentba4d97ddc2133c905e668c2f916cf3b14be4e35d (diff)
downloadAGH-engineering-thesis-d5c877247834fc25689ca6cf7530cd8d1b870d3a.tar.gz
AGH-engineering-thesis-d5c877247834fc25689ca6cf7530cd8d1b870d3a.zip
add swap instruction together with bench
Diffstat (limited to 'tclasm.tcl')
-rw-r--r--tclasm.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tclasm.tcl b/tclasm.tcl
index c86a3e7..ed4ed8d 100644
--- a/tclasm.tcl
+++ b/tclasm.tcl
@@ -154,3 +154,8 @@ proc set_sp {address} {
proc halt {} {
puts 0000000000000000
}
+
+
+proc swap {} {
+ puts 0000000000000010
+}