Q2: For the following datapath design: rs + Insn Mom Register Filc is1 s2 d ut R-type Op(0) 566) (5) Sh(5) Func(O) (a) W
Posted: Sat May 14, 2022 3:14 pm
Q2: For the following datapath design: rs + Insn Mom Register Filc is1 s2 d ut R-type Op(0) 566) (5) Sh(5) Func(O) (a) What is the instruction that this datapath implements? (b) Why the PC register is increased by 4 not 1? (c) Assume we want to extend the datapath design in Q2 to execute the following R-type instruction: seq $rd, $rs, $rt the seq (set if equal) instruction will store the value 1 in the $rd register if and only if the contents of the $rs and $rt registers are equal. Update the datapath and controls in Q2 to execute this instruction.