Question: Answer the following questions for the MIPS assembly code given below. addi $t1, $0, 100; add immediate LOOP: lw $s1, 0 ($s0); load word add

 Answer the following questions for the MIPS assembly code given below.

Answer the following questions for the MIPS assembly code given below. addi $t1, $0, 100; add immediate LOOP: lw $s1, 0 ($s0); load word add $s2, $s2, $s1; add addi $s0, $s0, 4; add immediate subi $t1, $t1, 1; subtract immediate bne $t1, $0, LOOP; branch when not equal What is the size of the memory needed to store this program? bytes What is the total number of instructions executed? __ instructions What is the decimal value in immediate field of (bne $t1, $0, LOOP) instruction? (bne is a I-format instruction). If the value in register s0 is 0x2233AABB during the first execution of (1w $s1, 0 ($s0)) instruction, what is the memory address (in hexadecimal) from which the data is transferred? Answer the following questions for the MIPS assembly code given below. addi $t1, $0, 100; add immediate LOOP: lw $s1, 0 ($s0); load word add $s2, $s2, $s1; add addi $s0, $s0, 4; add immediate subi $t1, $t1, 1; subtract immediate bne $t1, $0, LOOP; branch when not equal What is the size of the memory needed to store this program? bytes What is the total number of instructions executed? __ instructions What is the decimal value in immediate field of (bne $t1, $0, LOOP) instruction? (bne is a I-format instruction). If the value in register s0 is 0x2233AABB during the first execution of (1w $s1, 0 ($s0)) instruction, what is the memory address (in hexadecimal) from which the data is transferred

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!