Question: Describe in words (or C-like pseudo code) the function of the instruction xyzzy $rt,$rs. Then,assuming that a memory load request takes 5 clock cycles to
Describe in words (or C-like pseudo code) the function of the instruction xyzzy $rt,$rs. Then,assuming that a memory load request takes 5 clock cycles to complete (after MEMread has been issued), how many clock cycles would it take to execute each xyzzy instruction? In any case, give and briefly explain your answer.

when op) op (1) Xyzzy Start: PCout, MARin, MEMread, Yin CONST(4), ALUadd, Zin, UNTILmfc MDRout, I Rin Zout, PCin, JUMPonop HALT /* Should end here on undecoded op */ Xyzzy: SELrs, REGout, Yin CONST(-1), ALUxor, Zin Zout, Yin CONST(1), ALUadd, Zin Zout, SELrt, REGin, JUMP (Start) when op) op (1) Xyzzy Start: PCout, MARin, MEMread, Yin CONST(4), ALUadd, Zin, UNTILmfc MDRout, I Rin Zout, PCin, JUMPonop HALT /* Should end here on undecoded op */ Xyzzy: SELrs, REGout, Yin CONST(-1), ALUxor, Zin Zout, Yin CONST(1), ALUadd, Zin Zout, SELrt, REGin, JUMP (Start)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
