Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .data
- msg db "Helloworld", 10
- msg_len equ $- msg
- msg2 db "This is first 64 bit ALP ", 10
- msg2_len equ $- msg2
- section .text
- global _start
- _start:
- mov rax, 1
- mov rdi, 1
- mov rsi, msg
- mov rdx, msg_len
- syscall
- mov rax, 1
- mov rdi, 1
- mov rsi, msg2
- mov rdx, msg2_len
- syscall
- mov rax, 60
- mov rdi, 0
- syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement