Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .intel_syntax noprefix
- .section .data
- hello: .asciz "Hello, World!\n"
- .section .text
- .global _start
- _start:
- mov rax, 0x01
- mov rdi, 1
- lea rsi, [hello]
- mov rdx, 14
- syscall
- # exit program
- mov rax, 0x3c
- mov rdi, 0
- syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement