Advertisement
Guest User

hello_world.asm

a guest
Apr 10th, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. section .data
  2.     text db "Hello, World",10
  3.  
  4. section .text
  5.     global _start
  6.  
  7. _start:
  8.     mov rax, 1
  9.     mov rdi, 1
  10.     mov rsi, text
  11.     mov rdx, 14
  12.     syscall
  13.  
  14.     mov rax, 60
  15.     mov rdi, 0
  16.     syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement