diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-11-23 14:56:03 +0100 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-11-23 14:56:03 +0100 |
commit | c5e3ee1d1c445f799e3cdfeee57ae8cfa3412743 (patch) | |
tree | 48da9c1c54cf83a73545f8a27329d281b714726b /tools/stack_machine_instruction.h | |
parent | a0e9d28f2a21cc42dff7ed2fce3e52cb04bc5170 (diff) | |
download | AGH-engineering-thesis-c5e3ee1d1c445f799e3cdfeee57ae8cfa3412743.tar.gz AGH-engineering-thesis-c5e3ee1d1c445f799e3cdfeee57ae8cfa3412743.zip |
write Wasm code, that can print a number on the screen
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 15c870b..529ffae 100644 --- a/tools/stack_machine_instruction.h +++ b/tools/stack_machine_instruction.h @@ -127,6 +127,7 @@ Y(gt, 0x300C) /* 0011_0000_0000_1100 */ Y(ugt, 0x300D) /* 0011_0000_0000_1101 */ Y(ge, 0x300E) /* 0011_0000_0000_1110 */ Y(uge, 0x300F) /* 0011_0000_0000_1111 */ +Y(rem, 0x3010) /* 0011_0000_0001_0000 */ Y(ret, 0x3080) /* 0011_0000_1000_0000 */ X(cond_jump, 0x7080) /* 0111_0000_1xxx_xxxx */ X(cond_jump_n, 0x7100) /* 0111_0001_0xxx_xxxx */ |