blob: 50a0b4be1dd083d2cf7071222953c4ef26b33cf6 [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
leaq helloworld(%rip), %rsi
movl $1, %edi
movl $1, %eax
syscall
movl $0, %edi
movl $60, %eax
syscall