Advertisement
Guest User

Untitled

a guest
May 28th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. %include "io.inc"
  2.  
  3. section .data
  4. ttr2 dq 42949672958
  5. for_printf db "%llu", `\n`, 0
  6.  
  7. section .text
  8. global CMAIN
  9. CMAIN:
  10. mov ecx, esp
  11. and esp, -16
  12. push ecx
  13. push ebp
  14. mov ebp, esp
  15. sub esp, 24
  16.  
  17. mov eax, [ttr2+4]
  18. mov dword[esp+4], eax
  19. mov eax, [ttr2]
  20. mov dword[esp+8], eax
  21. mov dword[esp], for_printf
  22. call printf
  23.  
  24. mov esp, ebp
  25. pop ebp
  26. pop esp
  27. xor eax, eax
  28. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement