1 / 25

New Instructions Indirect Memory Access

New Instructions Indirect Memory Access. New Instructions. Machine level instructions must be implemented with register transactions. New Instructions. New instructions. AC  AC + MBR AC  AC – MBR AC  AC | MBR (bitwise OR) AC  AC & MBR (bitwise AND) AC  0 (clear)

myles-beck
Download Presentation

New Instructions Indirect Memory Access

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. New InstructionsIndirect Memory Access

  2. New Instructions • Machine level instructions must be implemented with register transactions

  3. New Instructions • New instructions • AC  AC + MBR • AC  AC – MBR • AC  AC | MBR (bitwise OR) • AC  AC & MBR (bitwise AND) • AC  0 (clear) • AC  1 (force set to 1)

  4. New Instructions • New instructions • AC  AC + MBR • AC  AC – MBR • AC  AC | MBR (bitwise OR) • AC  AC & MBR (bitwise AND) • AC  0 (clear) • AC  1 (force set to 1)

  5. New Instructions • New instructions • AC  AC + MBR • AC  AC – MBR • AC  AC | MBR (bitwise OR) • AC  AC & MBR (bitwise AND) • AC  0 (clear) • AC  1 (force set to 1)

  6. Book Instructions • Clear

  7. Book Instructions • Indirect Load • Standard decode bringsaddress into MBR • New instructions loadvalue from that address

  8. Book Instructions • Other Indirects: • Standard decode brings address into MBR • Put that address in MAR • Use that address for task

  9. Jump And Store • JNS / JUMPI – Basis for function calls

  10. Jump And Store • JNS Call

  11. Jump And Store • JNS Call • Post fetch 000E 002 000E 003

  12. Jump And Store • JNS Call • Execution 000E 002 0003 003

  13. Jump And Store • JNS Call • Execution c 000E 00E 0003 003

  14. Jump And Store • JNS Call • Execution 000E 00E 0003 003 0003

  15. Jump And Store • JNS Call • Execution 000E 00E 000E 003 0003

  16. Jump And Store • JNS Call • Execution 0001 000E 00E 000E 003 0003

  17. Jump And Store • JNS Call • Execution 000F 000E 00E 000E 003 0003

  18. Jump And Store • JNS Call • Execution 000F 000E 00E 000E 00F 0003

  19. Jump And Store • JNS Call • Execution

  20. Jump And Store • JUMPI Return

  21. Jump And Store • JUMPI Return • Post Fetch C00E 012 C00E 013

  22. Jump And Store • JUMPI Return • Decode loads X C00E 00E 0003 013

  23. Jump And Store • JUMPI Return • Execute puts in PC C00E 00E 0003 003

  24. Jump And Store • JUMPI Return • Execute puts in PC

  25. Jump And Store • Returns to location after JNS

More Related