Created
January 12, 2018 07:40
-
-
Save gskachkov/6ef172698137ab378231ece6b09e0a9b to your computer and use it in GitHub Desktop.
Change value in first symbol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I love you