Assume that we would like to expand the MIPS register file t
Assume that we would like to expand the MIPS register file to 128 registers and expand the instruction set to contain four times as many instructions
Q: How this would affect the size of each of the bit fields in the R-type instructions?
------------------------------------------------------------------------------------------------------------------------
Please note that I have found 2 solutions on chegg with different answers for that question.
- First solution link (chegg book manual solutions) :-
http://www.chegg.com/homework-help/Computer-Organization-and-Design-5th-edition-chapter-2.18-problem-1E-solution-9780124077263
- Second solution link :-
https://www.chegg.com/homework-help/questions-and-answers/assume-would-like-expand-mips-register-file-128-registers-expand-instruction-set-contain-f-q10626493?trackid=1cfe3b32&strackid=5989b3a7&autosuggest=1&ii=1&uqry=Assume%20that%20we%20would%20like%20to%20expand%20the%20MIPS%20register%20file%20to%20128%20registers%20and%20expand%20&event=click_submit
------------------------------------------------------------------------------------------------------------------------
Which solution is the correct one?
Thanks in advance.
Solution
Yourlinks are not working here is the rightsolution
Log 2 (128) = 7
opcode = 6
rs = 7
rt = 7
rd = 7
shamt = 5
funct = 6
