Question: For these problems, there are several instructions that are not included in the MIPS instruction set are shown. For each instruction in the table above,
For these problems, there are several instructions that are not included in the MIPS instruction set are shown.![a. subi $t2, $t3, 5 b. rpt $t2, loop #R[rt] R[rs] SignExt Imm #if(R[rs]>0) R[rs]=R[rs]-1, PC-PC+4+BranchAddr](https://dsd5zvtm8ll6.cloudfront.net/images/question_images/1698/0/6/3/913653666296dd891698063872687.jpg)
For each instruction in the table above, find the shortest sequence of MIPS instructions that performs the same operation.
a. subi $t2, $t3, 5 b. rpt $t2, loop #R[rt] R[rs] SignExt Imm #if(R[rs]>0) R[rs]=R[rs]-1, PC-PC+4+BranchAddr
Step by Step Solution
3.50 Rating (160 Votes )
There are 3 Steps involved in it
The question is asking to convert two pseudo instructions that are not part of the standard MIPS i... View full answer
Get step-by-step solutions from verified subject matter experts
