1;; Compiled using the WebAssembly Tootkit (https://github.com/WebAssembly/wabt) 2;; $ wat2wasm simple.wat -o simple.wasm 3 4(module 5 (func $add (param $a i32) (param $b i32) (result i32) 6 ;; return $a + $b 7 (i32.add (get_local $a) (get_local $b)) 8 ) 9 10 (export "add" (func $add)) 11) 12