Question: 3. Given the MIPS program below, what is the CPI for this program if add takes 3 cycles, lw take 25 cycles, and sw takes


3. Given the MIPS program below, what is the CPI for this program if "add" takes 3 cycles, "lw" take 25 cycles, and "sw" takes 5 cycles? 1. Iw $5,0($0) 2. Iw $6,4($0) 3. add $7,$5,$6 4. sw$7,8($0) 4. Encode the MIPS assembly program given in problem 3 as object code specified in hex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
