Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 section .text
- 2 global start
- 3
- 4 start:
- 5 00000000 B804000002 mov rax, 2000004h ; WRITE
- 6 00000005 BF01000000 mov rdi, 1
- 7 0000000A 488D35(00000000) lea rsi, [rel msg]
- 8 00000011 BA02000000 mov rdx, 2
- 9 00000016 0F05 syscall
- 10
- 11 00000018 B801000002 mov rax, 2000001h ; EXIT
- 12 0000001D 4831FF xor rdi, rdi
- 13 00000020 0F05 syscall
- 14
- 15 section .data
- 16 00000000 4869 msg db "Hi"
- 17 00000002 80 a db 80h
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement