Files
2019-12-06 11:24:42 +01:00

15 lines
237 B
WebAssembly Text Format

;;; TOOL: run-interp
(module
(memory 1)
(func $start
i32.const 0
i32.const 42
i32.store)
(start $start)
(func (export "get") (result i32)
i32.const 0
i32.load))
(;; STDOUT ;;;
get() => i32:42
;;; STDOUT ;;)