Advertisement
Guest User

Untitled

a guest
Jul 7th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. 00 0000
  2. 00 0001
  3. 00 0002
  4. 00 0003
  5. C3 0004 <--- Jump Instruction
  6. 00 0005 <--- Address byte 1
  7. 00 0006 <--- Address byte 2
  8. 00 0000 <--- it jumped back to $0000, and also split up
  9. 00 0005 <--- Process 1 Continues to count beyond the JP
  10. 00 0001 <--- Process 0 goes back to 0001 after the jump was complete
  11. 00 0006 <--- Process 1 Continues to count beyond the JP
  12. 00 0002 <--- Process 0
  13. 76 0007 <--- Process 1 reached the usually unreachable HALT Instruction
  14. 00 0003 <--- Process 0
  15. 00 0008 <--- Process 1 Continues to count beyond the HALT
  16. C3 0004 <--- Process 0 reached the JP Again
  17. 00 0009 <--- Process 1 still going....
  18. 00 0005 <--- you get the point, the CPU is doing 2 processes and switching between them each clock pulse.
  19. 00 0006
  20. 00 0000
  21. 00 000A
  22. 00 0001
  23. 00 000B
  24. 00 0002
  25. 00 000C
  26. 00 0003
  27. 00 000D
  28. C3 0004
  29. 00 000E
  30. 00 0005
  31. 00 0006
  32. 00 0000
  33. 00 000F
  34. 00 0001
  35. 20 0010
  36. 00 0002
  37. 20 0011
  38. 00 0003
  39. 00 0012
  40. C3 0004
  41. 30 0013
  42. 00 0005
  43. 00 0006
  44. 00 0000
  45. 00 0014
  46. 00 0001
  47. 0A 0015
  48. 00 0002
  49. 02 0016
  50. 00 0003
  51. 03 0017
  52. C3 0004
  53. 18 0018
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement