You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
402 B
Plaintext
19 lines
402 B
Plaintext
(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)
|
|
)
|
|
)
|
|
)
|