Question: ( 1 6 ) For each pseudo - instruction in the following table, produce a minimal sequence of actual basic MIPS instructions to replace them
For each pseudoinstruction in the following table, produce a minimal sequence of actual
basic MIPS instructions to replace them to accomplish the same results. You may use the $at for
some of the sequences. In the following table, imm refers to a bit constant.
a move $t $tuse addu to achieve it
b clear $tuse addu or xor to achieve it
c li $t immuse lui and ori to replace it
d addi $t $t immuse lui, ori, add to replace it
e ble $t $t Label use slt beq to replace it
f bgt $t $t Label use slt bne to replace it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
