ableos_userland/programs/wat2wasm/assets/complex.wat

12 lines
205 B
Plaintext
Raw Permalink Normal View History

2022-12-06 12:41:57 -06:00
(module
(func $add (param $x i32) (param $y i32) (result i32)
(i32.add (get_local $x) (get_local $y))
)
(func (export "start")
(call $add
(i32.const 5)
(i32.const 10)
)
)
)