hello.s
357 Bytes
# asm generated by clang from the following C code:
# void puts(const char*);
# void hello() { puts("hello\n"); }
.globl hello
hello:
.functype hello () -> ()
i32.const hello_str
call puts
end_function
.section .rodata.hello_str,"",@
.globl hello_str
hello_str:
.asciz "hello\n"
.size hello_str, 7
.functype puts (i32) -> ()