blob: 1e20171cd8eb756bf0bbe22cef27d75909ed0cbf [file] [edit]
;;; TOOL: run-objdump
(module
(memory 1)
(func $f (param i32 i32) (result i32)
i32.const 0
i32.const 0
i32.load
i32.const 1
i32.add
i32.store
local.get 0
local.get 1
i32.add)
(export "f" (func $f)))
(;; STDOUT ;;;
basic_dump_only.wasm: file format wasm 0x1
Code Disassembly:
000025 func[0] <f>:
000026: 41 00 | i32.const 0
000028: 41 00 | i32.const 0
00002a: 28 02 00 | i32.load 2 0
00002d: 41 01 | i32.const 1
00002f: 6a | i32.add
000030: 36 02 00 | i32.store 2 0
000033: 20 00 | local.get 0
000035: 20 01 | local.get 1
000037: 6a | i32.add
000038: 0b | end
;;; STDOUT ;;)