Question: b ) In the following ARM 9 program, there are two examples of 'data forwarding' and 6 one further example of a 'read - after
b In the following ARM program, there are two examples of 'data forwarding' and
one further example of a 'readafterwrite' hazard that results in an interlock. Identify all three.
Mnemonic
MOV #
MOV r #xBC
MOV ro LSL #
SUB
ADDr
RSB
MOV #
MOV #
ADDr
Comment
; move xA into
; move xBC into r
; left shift by bits
; subtract from
; add and sum in
; subtract from
;move xE into
; move xE into
; add and sum in
c Draw a pipeline diagram for the program given above assuming that it is executed
using the ARM microprocessor. What is the performance as measured in "clocks per instruction' CPIcounting clock cycles from the execute stage of the first instruction to the execute stage of the last instruction
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
