diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-10-05 14:23:47 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-10-05 14:24:00 +0200 |
commit | 7ddb4265d30ef30df6e7098c979334109378357c (patch) | |
tree | 95e9f5785ba5f46c8a362d6600e843363ac1fcf1 /tclasm.tcl | |
parent | 7a61f213fb9be8ab7f9bd0fb33940b21fa143b05 (diff) | |
download | AGH-engineering-thesis-7ddb4265d30ef30df6e7098c979334109378357c.tar.gz AGH-engineering-thesis-7ddb4265d30ef30df6e7098c979334109378357c.zip |
fixes, add_sp instruciton and translation of br instruction from wasm
Diffstat (limited to 'tclasm.tcl')
-rwxr-xr-x | tclasm.tcl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -266,6 +266,15 @@ proc jump {address} { } +proc _add_sp {number_part} { + puts 010000010[__to_binary $number_part 7] +} + +proc add_sp {number} { + _with_im _add_sp $number +} + + # Instructions, that grow stack proc tee {} { |