Question: In the following problems, you will be using the MIPS assembly code as listed below to explore the trade-offs of the immediate field in the
In the following problems, you will be using the MIPS assembly code as listed below to explore the trade-offs of the immediate field in the MIPS I-type instructions.
How many extra instructions are needed to do execute your code in 2.27.5 MIPS statements in the table versus the code shown in the table above?
a. 0x00400000 beq $50. $0, FAR addi $50, $s0, 1 j AWAY 0x04000010 AWAY: addi $s0, $50, 1 0x00403100 FAR: b. 0x00000100
Step by Step Solution
3.36 Rating (165 Votes )
There are 3 Steps involved in it
The code in 2275 of the textbook uses 8bit immediate fields for Itype instructions while the ... View full answer
Get step-by-step solutions from verified subject matter experts
