aboutsummaryrefslogtreecommitdiff
path: root/tclasm.tcl
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:09:16 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 17:09:16 +0200
commitba4d97ddc2133c905e668c2f916cf3b14be4e35d (patch)
tree68dec077eeea05aef51ed0172a16c100c57b9e54 /tclasm.tcl
parent3ec21a949b0887e32bbffcdb38a5738abfe8cfd0 (diff)
downloadAGH-engineering-thesis-ba4d97ddc2133c905e668c2f916cf3b14be4e35d.tar.gz
AGH-engineering-thesis-ba4d97ddc2133c905e668c2f916cf3b14be4e35d.zip
add sub 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 f5646a2..c86a3e7 100644
--- a/tclasm.tcl
+++ b/tclasm.tcl
@@ -101,6 +101,11 @@ proc add {} {
}
+proc sub {} {
+ puts 0011000000000001
+}
+
+
proc _store {address_part} {
puts 011111100[__to_binary $address_part 7]
}