Update grow_memory example

This commit is contained in:
Steve Akinyemi 2018-11-07 11:19:41 +01:00
parent df0feb9b7f
commit 874e60aa6d

View File

@ -2,7 +2,7 @@
(memory 1)
(func $main (export "main") (result i32)
(drop (memory.grow (i32.const 1)))
(i32.store (i32.const 400) (i32.const 1600))
(i32.load (i32.const 1600))
(i32.store (i32.const 0) (i32.const 1600))
(i32.load (i32.const 0))
)
)