Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <snippet>
  2. <content>
  3. global main
  4. section .data
  5.  
  6. section .rodata
  7.  
  8. section .text
  9. main:
  10. ; Armo stack frame SALVANDO TODOS los registros
  11. push RBP
  12. mov RBP, RSP
  13. push RBX
  14. push R12
  15. push R13
  16. push R14
  17. push R15
  18.  
  19. cc
  20. # Your code here ..
  21.  
  22. ; Desarmo stack frame
  23. pop r15
  24. pop r14
  25. pop r13
  26. pop r12
  27. pop rbx
  28. pop rbp
  29. ret
  30. </content>
  31. <tabTrigger>baseC</tabTrigger>
  32. <description>Base para programa en C</description>
  33. </snippet>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement