| # Linux on AMD64 have a totally different syscall numbers than other kernels | |
| .section .rodata | |
| helloworld: | |
| .string "Hello world\n" | |
| .text | |
| .global _start | |
| _start: | |
| movq $12, %rdx | |
| leaq helloworld(%rip), %rsi | |
| movl $1, %edi | |
| movl $1, %eax | |
| syscall | |
| movl $0, %edi | |
| movl $60, %eax | |
| syscall |