problem 4 consider the following code segment in mips 24 points add t3 t1 t2 beq s3 5346266
Problem 4: Consider the following code segment in MIPS (24 points):
add $t3, $t1, $t2
beq $s3, $s5, Load
lw $t4, 8($t0)
add $t5, $t7, $t6
Load: LW $S5, 16($s0)
a) Show what happens when the branch is not taken in this instruction sequence, assuming the pipeline is designed by assuming the branch will not be taken.
b) Show what happens when the branch is taken in this instruction sequence, assuming the pipeline is designed by assuming the branch will not be taken.
c) Show what happens when the branch is not taken in this instruction sequence, assuming the pipeline is designed by assuming always stall.