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

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

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!