Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. X86:
  2. // The callee save frame is pointed to by SP.
  3. // | argN | |
  4. // | ... | |
  5. // | arg4 | |
  6. // | arg3 spill | | Caller's frame
  7. // | arg2 spill | |
  8. // | arg1 spill | |
  9. // | Method* | ---
  10. // | Return |
  11. // | EBP,ESI,EDI | callee saves
  12. // | EBX | arg3
  13. // | EDX | arg2
  14. // | ECX | arg1
  15. // | XMM3 | float arg 4
  16. // | XMM2 | float arg 3
  17. // | XMM1 | float arg 2
  18. // | XMM0 | float arg 1
  19. // | EAX/Method* | <- sp
  20.  
  21. ARM32
  22. // | argN | |
  23. // | ... | |
  24. // | arg4 | |
  25. // | arg3 spill | | Caller's frame
  26. // | arg2 spill | |
  27. // | arg1 spill | |
  28. // | Method* | ---
  29. // | LR |
  30. // | ... | 4x6 bytes callee saves
  31. // | R3 |
  32. // | R2 |
  33. // | R1 |
  34. // | S15 |
  35. // | : |
  36. // | S0 |
  37. // | | 4x2 bytes padding
  38. // | Method* | <- sp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement