Advertisement
Guest User

Untitled

a guest
Feb 7th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 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: 0xDEADBEEF
  4. Cell 0x00000001: 0x00000000
  5. Cell 0x00000002: 0x00000003
  6. Cell 0x00000003: 0x00000000
  7. Cell 0x00000004: 0x00000000
  8. Cell 0x00000005: 0x10000000
  9. -- Dunno how to halt. Maybe jump to end of memory?
  10. ...
  11. Cell 0x10000000: 0x00000000
  12. ...
  13. Cell 0xDEADBEEF: 0x00000005
  14.  
  15. Copies 5 from 0xDEADBEEF to 0x10000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement