Question: add $t0, $zero, $zero ------1 add $t2, $t0, 1000 ------2 add $t3, $t3, 2000 ------3 Label: lw $t1, 0($t0) ------4 add $t1, $t1, $t1 ------5

add $t0, $zero, $zero ------1

add $t2, $t0, 1000 ------2

add $t3, $t3, 2000 ------3

Label: lw $t1, 0($t0) ------4

add $t1, $t1, $t1 ------5

sw $t1, 0($t0) ------6

add $t0, $t0, 4 ------7

bne $t0, $t2, Label ------8

add $t2, $t2, $t2 ------9

i dont know execution sequence

1->2->3->8 and if it is taken,->4->5->6->7->->8 and if it is not taken->9

it is right?

and if i can choose delayed branch or one-bit prediction techniques, which one is better in this pipeline processor?

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