Skip to content

Instantly share code, notes, and snippets.

@vbkmr
Created January 5, 2020 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vbkmr/e1074b2f6437791a5614f4e49f4a74d7 to your computer and use it in GitHub Desktop.
Save vbkmr/e1074b2f6437791a5614f4e49f4a74d7 to your computer and use it in GitHub Desktop.
(module
(table 0 anyfunc)
(memory $0 1)
(export "memory" (memory $0))
(export "squareMe" (func $squareMe))
(func $squareMe (; 0 ;) (param $0 i32) (result i32)
(i32.mul
(get_local $0)
(get_local $0)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment