Question: Question 2 ( 1 0 points ) . Given the program below, li $t 1 , 0 li $t 2 , 1 0 beq t

Question 2(10 points). Given the program below,
li $t1,0
li $t2,10
beq t1,t2, Exit
addi t1,t1,1
j L
Exit:
. How many static instructions in the program? How many dynamic instructions in the program?
["Exit" is a label not an instruction]
. Compare the performance of the following two processors:
P1: 1 GHz , with a CPI of 1.2 for the given program
P2: 2 GHz , with a CPI of 1 for the same program
Calculate the CPU execution time of these two processors on the given program. Which processor is
faster in executing the given program? How much faster?
Question 2 ( 1 0 points ) . Given the program

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 Programming Questions!