Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. ;neato NASM code
  2. extern _getDouble
  3. extern _printString
  4. extern _printDouble
  5.  
  6. section .data
  7. value: dd 1.2
  8.  
  9. section .bss
  10.  
  11. section .text
  12. global _asmMain
  13. _asmMain:
  14. push ebp
  15. mov ebp, esp
  16.  
  17. push DWORD [value]
  18. call _printDouble
  19. add esp, 8
  20.  
  21. pop ebp
  22. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement