aboutsummaryrefslogtreecommitdiff
path: root/tclasm.tcl
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:43:32 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:43:32 +0200
commit40a11a7155bc474d85ded1fef183baae2007f101 (patch)
treeee101c1e2ba2be097c5ff81b321247fb15edd882 /tclasm.tcl
parent572c9d71cf66bb2097bce384b8cb3899af0b8473 (diff)
downloadAGH-engineering-thesis-40a11a7155bc474d85ded1fef183baae2007f101.tar.gz
AGH-engineering-thesis-40a11a7155bc474d85ded1fef183baae2007f101.zip
add tee 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 fd45456..c00fe18 100644
--- a/tclasm.tcl
+++ b/tclasm.tcl
@@ -91,6 +91,11 @@ proc const {value} {
}
+proc tee {} {
+ puts 0001000000000000
+}
+
+
proc _store {address_part} {
puts 011111100[__to_binary $address_part 7]
}