Advertisement
Guest User

Untitled

a guest
Feb 7th, 2012
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. Assume each instruction is aligned to three cells, with cell i+0 being a, cell i+1 b, and cell i+2 c
  2.  
  3. Cell 0x00000000: 0x20000000
  4. Cell 0x00000001: 0xDEADBABE
  5. Cell 0x00000002: 0x00000003
  6. Cell 0x00000003: 0x00000000
  7. Cell 0x00000004: 0xDEADBABE
  8. Cell 0x00000005: 0x10000000
  9. Cell 0x00000004: 0x00000004
  10. Cell 0x00000005: 0xDEADBABE
  11. Cell 0x00000006: 0xFFFFFFFF
  12. ...
  13. Cell 0x10000000: 0x00000000
  14. ...
  15. Cell 0x20000000: 0xDEADBEEF
  16. ...
  17. Cell 0xDEADBABE: 0x00000000
  18. ...
  19. Cell 0xDEADBEEF: 0x00000005
  20. ...
  21. Cell 0xFFFFFFFF: 0x00000000 -- this is the IP. Gets incremented automatically
  22.  
  23. Copies 5 from 0xDEADBEEF to 0x10000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement