Question: Problem 1 [35 points] For this problem you are to use the code below that implements a loop. Let us assume that the code is
![Problem 1 [35 points] For this problem you are to use](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f2f6ee1dd70_95766f2f6ed8595a.jpg)
Problem 1 [35 points] For this problem you are to use the code below that implements a loop. Let us assume that the code is loaded onto the memory starting at location 0x04000 (Ox means that it is hexadecimal number.) Loop: add $t1,$s3, $s3 addi $t1,$t1,-64 lw $t3,0 ($t1) bne $t3, $85, Exit sub $83, $83, $34 j Loop Exit: or $t1,$s3, $s2 Please determine the format of each instruction, its location in memory, and its code. Use the table below Instruction code (Hex notation) Format opcode rs rt rd shift funct R opcode rs rt immediate Instruction Format opcode address Address (Hex) Ox04000 add $t1,$s3, $s3 addi $t1,$t1,-64 lw $t3,0($ti) bne $t3, $s5, Exit sub $s3, $s3, $34 j Loop or $t1,$s3, $s2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
