Question: forwarding' and one further example of a 'read - after - write' hazard that 6 results in an interlock. Identify all three. Mnemonic MOV r
forwarding' and one further example of a 'readafterwrite' hazard that
results in an interlock. Identify all three.
Mnemonic
MOV r #
MOV #xBC
MOV r r LSL #
SUB
ADDr
MOV #xE
MOV #
ADDr
Comment
; move xA into r
; move xBC into r
; left shift by bits
; subtract from
; add and sum in
; subtract from r
; move xE into r
; move xE into
; add and sum in
c i Draw a pipeline diagram for the program given above in part b
assuming that it is executed using the ARM microprocessor.
ii 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
iii How can the instructions be reordered so that 'readafterwrite' hazard do not occur without changing the function of the programme?
Total
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
