aboutsummaryrefslogtreecommitdiff
path: root/tests/wasm_compile_simple_module/instructions.wat
blob: bdf8a16bd97dd53fbb4808387d5fae8573eff4e9 (about) (plain)
1
2
3
4
5
6
7
(module
 (memory 0 2)
 (func $main
       i32.const 0x1D ;; dynamic offset for memory store instruction
       i32.const 0x1E ;; value to store
       i32.store offset=0x1F align=2) ;; we store the difference at 0x23C
 (export "main" (func $main)))