aboutsummaryrefslogtreecommitdiff
path: root/tools/translate_xmacro.h
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-11-23 14:56:03 +0100
committerWojciech Kosior <kwojtus@protonmail.com>2020-11-23 14:56:03 +0100
commitc5e3ee1d1c445f799e3cdfeee57ae8cfa3412743 (patch)
tree48da9c1c54cf83a73545f8a27329d281b714726b /tools/translate_xmacro.h
parenta0e9d28f2a21cc42dff7ed2fce3e52cb04bc5170 (diff)
downloadAGH-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/translate_xmacro.h')
-rw-r--r--tools/translate_xmacro.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/translate_xmacro.h b/tools/translate_xmacro.h
index e906261..289bb15 100644
--- a/tools/translate_xmacro.h
+++ b/tools/translate_xmacro.h
@@ -4,6 +4,7 @@
TS (WASM_I32_ADD, add, i32_i32, i32)
TS (WASM_I32_SUB, sub, i32_i32, i32)
TS (WASM_I32_DIV_U, div, i32_i32, i32)
+TS (WASM_I32_REM_U, rem, i32_i32, i32)
TS (WASM_I32_MUL, mul, i32_i32, i32)
TS (WASM_I32_EQ, eq, i32_i32, i32)
TS (WASM_I32_LT_S, lt, i32_i32, i32)