Question: ( 1 6 ) For each pseudo - instruction in the following table, produce a minimal sequence of actual basic MIPS instructions to replace them

(16) For each pseudo-instruction 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, imm32 refers to a 32-bit constant.
a) move $t1, $t2(use addu to achieve it)
b) clear $t5(use addu or xor to achieve it)
c) li $t5, imm32(use lui and ori to replace it)
d) addi $t5, $t3, imm32(use lui, ori, add to replace it)
e) ble $t5, $t3, Label (use slt, beq to replace it)
f) bgt $t5, $t3, 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!