diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-05 18:57:00 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-05 18:57:00 +0200 |
commit | 92206c93690c5658928c9f8b1324e1a455e1a453 (patch) | |
tree | 317283feedacfa01f5ad2340c20bfea3e42b86b4 /tclasm.tcl | |
parent | f37a50d6cfe86e6f5ebe368c0868878fd72aa884 (diff) | |
download | AGH-engineering-thesis-92206c93690c5658928c9f8b1324e1a455e1a453.tar.gz AGH-engineering-thesis-92206c93690c5658928c9f8b1324e1a455e1a453.zip |
add cond_jump instruction together with bench
Diffstat (limited to 'tclasm.tcl')
-rw-r--r-- | tclasm.tcl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -195,3 +195,12 @@ proc div {} { proc mul {} { puts 0011000000000011 } + + +proc _cond_jump {address_part} { + puts 011100001[__to_binary $address_part 7] +} + +proc cond_jump {address} { + _with_im _cond_jump $address +} |