Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;neato NASM code
- extern _getDouble
- extern _printString
- extern _printDouble
- section .data
- value: dd 1.2
- section .bss
- section .text
- global _asmMain
- _asmMain:
- push ebp
- mov ebp, esp
- push DWORD [value]
- call _printDouble
- add esp, 8
- pop ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement