multi_memory.wat (260B)
1 (module 2 (memory 1 1) 3 (memory 1 1) 4 (data (memory 1) (i32.const 0) "\07") 5 (func (export "test_main") (result i32) 6 i32.const 4 7 i32.const 35 8 i32.store memory=0 9 i32.const 0 10 i32.load8_u memory=1 11 i32.const 4 12 i32.load 13 i32.add))