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 /tools/stack_machine_instruction.h | |
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 'tools/stack_machine_instruction.h')
-rw-r--r-- | tools/stack_machine_instruction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/stack_machine_instruction.h b/tools/stack_machine_instruction.h index ea65334..003fa19 100644 --- a/tools/stack_machine_instruction.h +++ b/tools/stack_machine_instruction.h @@ -146,6 +146,7 @@ Y(nop, 0x0001) /* 0000_0000_0000_0001 */ Y(swap, 0x0002) /* 0000_0000_0000_0010 */ X(set_sp, 0x4000) /* 0100_0000_0xxx_xxxx */ X(jump, 0x4080) /* 0100_0000_1xxx_xxxx */ +X(add_sp, 0x4100) /* 0100_0001_0xxx_xxxx */ Y(tee, 0x1000) /* 0001_0000_0000_0000 */ Y(get_frame, 0x1001) /* 0001_0000_0000_0001 */ X(const, 0x5000) /* 0101_0000_0xxx_xxxx */ |