250 likes | 362 Views
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)
E N D
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) • AC 1 (force set to 1)
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)
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)
Book Instructions • Clear
Book Instructions • Indirect Load • Standard decode bringsaddress into MBR • New instructions loadvalue from that address
Book Instructions • Other Indirects: • Standard decode brings address into MBR • Put that address in MAR • Use that address for task
Jump And Store • JNS / JUMPI – Basis for function calls
Jump And Store • JNS Call
Jump And Store • JNS Call • Post fetch 000E 002 000E 003
Jump And Store • JNS Call • Execution 000E 002 0003 003
Jump And Store • JNS Call • Execution c 000E 00E 0003 003
Jump And Store • JNS Call • Execution 000E 00E 0003 003 0003
Jump And Store • JNS Call • Execution 000E 00E 000E 003 0003
Jump And Store • JNS Call • Execution 0001 000E 00E 000E 003 0003
Jump And Store • JNS Call • Execution 000F 000E 00E 000E 003 0003
Jump And Store • JNS Call • Execution 000F 000E 00E 000E 00F 0003
Jump And Store • JNS Call • Execution
Jump And Store • JUMPI Return
Jump And Store • JUMPI Return • Post Fetch C00E 012 C00E 013
Jump And Store • JUMPI Return • Decode loads X C00E 00E 0003 013
Jump And Store • JUMPI Return • Execute puts in PC C00E 00E 0003 003
Jump And Store • JUMPI Return • Execute puts in PC
Jump And Store • Returns to location after JNS