diff options
Diffstat (limited to 'tests/wasm_compile_simple_module/instructions.wat')
-rw-r--r-- | tests/wasm_compile_simple_module/instructions.wat | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/wasm_compile_simple_module/instructions.wat b/tests/wasm_compile_simple_module/instructions.wat new file mode 100644 index 0000000..7579a46 --- /dev/null +++ b/tests/wasm_compile_simple_module/instructions.wat @@ -0,0 +1,9 @@ +(module + (memory 0 2) + (func $sub (param $lhs i32) (param $rhs i32);; (result i32) + i32.const 0x17 + local.get $lhs + local.get $rhs + i32.sub + i32.store offset=0x25 align=2) + (export "main" (func $sub))) |