aboutsummaryrefslogtreecommitdiff
path: root/tclasm.tcl
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:58:33 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:58:33 +0200
commit3ec21a949b0887e32bbffcdb38a5738abfe8cfd0 (patch)
treeaee2db72c364053e56d985ad3e697c42ddfca7f5 /tclasm.tcl
parent40a11a7155bc474d85ded1fef183baae2007f101 (diff)
downloadAGH-engineering-thesis-3ec21a949b0887e32bbffcdb38a5738abfe8cfd0.tar.gz
AGH-engineering-thesis-3ec21a949b0887e32bbffcdb38a5738abfe8cfd0.zip
add add 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 c00fe18..f5646a2 100644
--- a/tclasm.tcl
+++ b/tclasm.tcl
@@ -96,6 +96,11 @@ proc tee {} {
}
+proc add {} {
+ puts 0011000000000000
+}
+
+
proc _store {address_part} {
puts 011111100[__to_binary $address_part 7]
}