Question: Question 1 10.0 points possible (graded, results hidden) Consider below code sequence: i. Subi $2, $1, 3 ii. and $12, $2, $5 iii. or $13,

Question 1 10.0 points possible (graded, results hidden) Consider below code sequence: i. Subi $2, $1, 3 ii. and $12, $2, $5 iii. or $13, $6, $7 iv. lw $1, 24($13) v. beq $14, $1, IF vi. sw $14, 100($16) What should be the value of the RegDST, ALUSrc, MemToReg and MemWrite for instruction vi? Write a 4-bit binary expression where each digit corresponds to the value of each of the mentioned control signals. For example, if the values are 0,0,x,0 respectively then you will write 00x0. Use 'x' for don't care How many clock cycles would you need if you only used the Stalling method to remove the hazard? What would be the CPI if you only used the Stalling method to remove the hazard? Write only 2 digits after the decimal without rounding How many clock cycles would you need if you only use Stalling and Forwarding method to remove the hazard? What would be the CPI if you only used the Stalling and Forwarding method to remove the hazard? Write only 2 digits after the decimal without rounding Submit You have used 0 of 2 attempts Save
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
