Question: Computer organization and architecture Question: Consider the following assembly executing on the pipelined processor studied. The processor makes branch decision in the Execute stage always

Computer organization and architecture

Question:

  1. Consider the following assembly executing on the pipelined processor studied. The processor
  • makes branch decision in the Execute stage
  • always predicts that branches are not taken

B target

SUB R10, R5, R4

AND R7, R4, R3

ORR R3, R4, R7

LSR R3, R5, #4

target LSR R3, R3, #8

EOR R9, R6, R7

Then, what instruction(s) must be flushed from the pipeline (and why) when the branch B reaches the Execute stage? Explain.

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!