| program | 001 - Hello World with C library |
| architecture | x86-64 |
| assembler | gas |
.extern puts
.globl main
.section .rodata
msg: .asciz "Hello World!"
.section .text
main:
## puts (msg)
leaq msg(%rip), %rdi
call puts@PLT
## return 0
movl $0, %eax
ret
gcc -o main main.s