Question: Given the MIPS code below, answer the questions. ADDI T1, T0, 0 LW T2, 100(T0) LW T7, 220(T0) ADDI T3, T0, 50 LOOP1: SLLI T5,
Given the MIPS code below, answer the questions. ADDI T1, T0, 0 LW T2, 100(T0) LW T7, 220(T0) ADDI T3, T0, 50 LOOP1: SLLI T5, T1, 2 LW T6, 1200(T5) ADD T6, T6, T2 ADD T6, T6, T7 SW 0(T5), T6 ADDI R1, R1, 1 SLE T4, T1, T3 BNEZ T4, LOOP1 LOOP2: SW 10000(T0), T1 -What is the number of clock cycles if this code is executed when the loop count is 50?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
