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
the code below that implements a loop. Let us assume that the

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 Ox04000 (Ox means that it is hexadecimal number.) Loop: add $t1,$s3, $s3 addi $t1,$t1,-64 lw $t3,0 ($ti) bne $t3, $85, Exit sub $s3, $s3, $s 4 j Loop Exit: or St1,$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 rt rd rs funct shift 20 opcode opcode 1 rs immediate rt Format Instruction address opcode Address (Hex) Ox04000 add $t1,$s3, $s3 addi $t1,$t1,-64 St3.0 ($t1) 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 1 Instruction Format Address (Hex) opcode address add $t1,$s3, $s3 Ox04000 addi $t1,$t1,-64 lw $t3,0 ($ti) bne $t3, $85, Exit sub $83, $s3, $s4 j Loop or $t1,$s3, $s2 You are allowed to use EE334 slides, MIPS Reference Data Card (green card), and a calculator

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!