Guest User

Untitled

a guest
Apr 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. section .data
  3. format db '%d',0
  4.  
  5. section .text
  6. extern scanf
  7. global _start
  8. _start:
  9.     sub     rsp,    4
  10.     mov     rsi,    rsp
  11.     mov     rdi,    format
  12.     xor     al,     al
  13.     call    scanf
  14.  
  15.     mov     eax,    60
  16.     mov     rdi,    [rsp]
  17.     syscall
Add Comment
Please, Sign In to add comment