Question: n the following ARM 9 program, there are two examples of data forwarding and one further example of a read - after - write hazard
n 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 Comment
MOV r #xA ; move xA into r
MOV r #xBC ; move xBC into r
MOV r r LSL # ; left shift r by bits
SUB r r r ; subtract r from r
ADD r r r ; add r and r sum in r
RSB r r r ; subtract r from r
MOV r #xE ; move xE into r
MOV r #xE ; move xE into r
ADD r r r ; add r and r sum in r
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
