Question: For these problems, there are several instructions that are not included in the MIPS instruction set are shown. The table above contains some instructions not
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)
The table above contains some instructions not included in the MIPS instruction set and the description of each instruction. If these instructions were to be implemented in the MIPS instruction set, what is the most appropriate instruction format?
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.46 Rating (146 Votes )
There are 3 Steps involved in it
The MIPS instruction set architecture does not directly contain instructions like subi and rpt as described in your question To implement similar func... View full answer
Get step-by-step solutions from verified subject matter experts
