blob: 2dda1916e0e891fe2b9c5ac3ba5e7cc7efac1397 [file] [log] [blame] [raw]
# 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
movq $helloworld, %rsi
movl $1, %edi
movl $1, %eax
syscall
movl $0, %edi
movl $60, %eax
syscall