1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
.text .globl _start .p2align 4, 0x90 _start: movq $0x2000004, %rax movq $1, %rdi leaq _msg(%rip), %rsi movq $14, %rdx syscall movq $0x2000001, %rax xorl %edi, %edi syscall .section __TEXT,__cstring,cstring_literals _msg: .asciz "Hello, World!\n"