19 lines · plain
1# asm generated by clang from the following C code:2# void puts(const char*);3# void hello() { puts("hello\n"); }4 5 .functype puts (i32) -> ()6 7 .globl hello8hello:9 .functype hello () -> ()10 i32.const hello_str11 call puts12 end_function13 14 .section .rodata.hello_str,"",@15 .globl hello_str16hello_str:17 .asciz "hello\n"18 .size hello_str, 719