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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!