git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: d8ff5818ee31f6be413fa142fb175fed4922ec46

Files: d8ff5818ee31f6be413fa142fb175fed4922ec46 / tests / wast / readMem.wast

515 bytesRaw
1(module
2 (type $FUNCSIG$ii (func (param i32) (result i32)))
3 (type $FUNCSIG$vii (func (param i32 i32)))
4 (import "test" "equals" (func $equals (param i32 i32)))
5 (import "env" "readMem" (func $readMem (param i32) (result i32)))
6 (table 0 anyfunc)
7 (memory $0 1)
8 (data (i32.const 16) "asm\01\00")
9 (export "memory" (memory $0))
10 (export "init" (func $init))
11 (func $init (result i32)
12 (call $equals
13 (call $readMem
14 (i32.const 16)
15 )
16 (i32.const 97)
17 )
18 (i32.const 0)
19 )
20)
21

Built with git-ssb-web