Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
(WebAssembly) eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
Browse files Browse the repository at this point in the history
…eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
  • Loading branch information
ᘡ˚ committed Dec 9, 2018
1 parent 88f229e commit eb176a5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions e.wat
@@ -0,0 +1,18 @@
(module
(type $FUNCSIG$ii (func (param i32) (result i32)))
(import "env" "putchar" (func $putchar (param i32) (result i32)))
(table 0 anyfunc)
(memory $0 1)
(export "memory" (memory $0))
(export "main" (func $main))
(func $main (; 1 ;) (param $0 i32) (param $1 i32) (result i32)
(loop $label$0 (result i32)
(drop
(call $putchar
(i32.const 101)
)
)
(br $label$0)
)
)
)

0 comments on commit eb176a5

Please sign in to comment.