Skip to content

Instantly share code, notes, and snippets.

@gskachkov
Created January 12, 2018 07:40
Show Gist options
  • Save gskachkov/6ef172698137ab378231ece6b09e0a9b to your computer and use it in GitHub Desktop.
Save gskachkov/6ef172698137ab378231ece6b09e0a9b to your computer and use it in GitHub Desktop.
Change value in first symbol
(module
(import "imp" "log" (func $log (param i32 i32)))
(memory (import "imp" "mem") 1)
(func $writeHi
(i32.store8
(i32.const 0)
(i32.const 72)
)
i32.const 0
i32.const 5
call $log
)
(data (i32.const 0) "hello")
(export "writeHi" (func $writeHi))
)
@kablaa
Copy link

kablaa commented Jan 12, 2018

I love you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment