100%
Given this processor
hardware design and the control sequence below, describe in
words (or C-like pseudo code) the function of the instruction
xyzzy immed(rt).
when op(0x3f) op(1) Xyzzy
Start:
PCout, MARin, MEMread, Yin
CONST(4), ALUadd, Zin, UNTILmfc
MDRout, IRin
Zout, PCin, JUMPonop
HALT /* Should end here on undecoded op */
Xyzzy:
SELrt, REGout, Yin
IRimmedout, ALUadd, Zin
Zout, MARin, MEMread
CONST(-1), Yin, UNTILmfc
MDRout, ALUxor, Zin
Zout, MDRin, MEMwrite, JUMP(Start)