blob: 15459aa752e6a7467c06667287f29d2ae8a04140 [file] [log] [blame] [raw]
# Linux on AMD64 have a totally different syscall numbers that 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