diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-10-03 21:45:24 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-10-05 10:13:38 +0200 |
commit | 7a61f213fb9be8ab7f9bd0fb33940b21fa143b05 (patch) | |
tree | 1bd5beab68c778d4d3a2543cf3661bfcb23445c2 /tclasm.tcl | |
parent | c548c0ce5b2e7ca2784257966ebdd386e1f31218 (diff) | |
download | AGH-engineering-thesis-7a61f213fb9be8ab7f9bd0fb33940b21fa143b05.tar.gz AGH-engineering-thesis-7a61f213fb9be8ab7f9bd0fb33940b21fa143b05.zip |
fixes, conditional if-not jump and translation of if-else instruction from wasm
Diffstat (limited to 'tclasm.tcl')
-rwxr-xr-x | tclasm.tcl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -337,5 +337,14 @@ proc cond_jump {address} { } +proc _cond_jump_n {address_part} { + puts 011100010[__to_binary $address_part 7] +} + +proc cond_jump_n {address} { + _with_im _cond_jump_n $address +} + + # translate instructions in the file given as command line argument source [lindex $argv 0] |