Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         .global _start
  2.         .text
  3. _start:
  4.         # write(1, message, 13)
  5.         mov     $1, %rax
  6.         mov     $1, %rdi
  7.         mov     $message, %rsi
  8.         mov     $13, %rdx
  9.         syscall
  10.         # exit(0)
  11.         mov     $60, %rax
  12.         xor     %rdi, %rdi
  13.         syscall
  14. message:
  15.         .ascii  "Hello, world\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement