Guest User

George Edison

a guest
Sep 8th, 2010
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; This code has been generated by the 7Basic
  2. ; compiler <http://launchpad.net/7basic>
  3.  
  4. extern printf
  5.  
  6. ; Initialized data
  7.  
  8.       SECTION .data
  9. format: db "%d",0
  10.  
  11. ; Uninitialized data
  12.  
  13.       SECTION .bss
  14. v_0 resb 4
  15.  
  16.       SECTION .text
  17.  
  18. ; Code
  19.  
  20. global main
  21.   main:
  22. push 5
  23. pop eax
  24. mov [v_0], eax
  25. mov eax, v_0
  26. push eax
  27. call printf
Advertisement
Add Comment
Please, Sign In to add comment