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/wasm.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/wasm.h')
-rw-r--r-- | tools/wasm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/wasm.h b/tools/wasm.h index afa1908..2e3e0c0 100644 --- a/tools/wasm.h +++ b/tools/wasm.h @@ -60,6 +60,7 @@ #define WASM_I32_SUB 0x6B #define WASM_I32_MUL 0x6C #define WASM_I32_DIV_U 0x6E +#define WASM_I32_REM_U 0x70 static inline int is_valid_valtype(char value_type) { |