Question: Question 3 : Consider the following assembly language program that evaluates the difference of two arrays and stores the result to the first array. The
Question :
Consider the following assembly language program that evaluates the difference of two arrays and
stores the result to the first array. The program is executed on a pipelined processor with stages,
namely: F D E M and W while all pipeline stages require one clock cycle.
a Evaluate the number of clock cycles required to execute one loop iteration showing all the
necessary timing steps. Assume that there is no forwardingbypassing implemented. Further, the
result of branch instruction is available after execute stage.
b Now the pipeline is modified by implementing forwardingbypassing and the result of branch
instruction is available after D decode stage. Find the number of clock cycles required for one
loop iteration and show the timing steps.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
