git ssb

0+

wanderer🌟 / js-primea-wasm-container



Tree: 4af0630e844fe5c816f308e0ce8210d97c227951

Files: 4af0630e844fe5c816f308e0ce8210d97c227951 / tests / wast / readMem.wast

568 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 "onCreation" (func $onCreation))
11 (func $onCreation (param $0 i32) (result i32)
12 (local $1 i32)
13 (call $equals
14 (call $readMem
15 (i32.const 16)
16 )
17 (i32.const 97)
18 )
19 (get_local $1)
20 )
21)
22

Built with git-ssb-web