Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 'read-after-write' hazard that
6
results in an interlock. Identify all three.
Mnemonic
MOV r 1,#00004A000
MOV 22, #0x00003BC0
MOV r0, r1, LSL #4
SUB r3,r2,r1
ADDr4,r1,r2
RSBr5,r4,r0
MOV r6, #0x000002E 4
MOV r7,#00002E400
ADDr2,r1,r0
Comment
; move 0x0004A000 into r1
; move 0x00003BC0 into r2
; left shift r1 by 4 bits
; subtract r1 from r2
; add r1 and r2, sum in r4
; subtract r4 from r0
; move 0x000002E4 into r6
; move 0x0002E400 into r7
; add r1 and r0, sum in r2
c) i) Draw a pipeline diagram for the program given above in part b),
5
assuming that it is executed using the ARM9 microprocessor.
ii) What is the performance, as measured in 'clocks per instruction'
2
(CPI)?(counting clock cycles from the execute stage of the first instruction to the execute stage of the last instruction)
4
iii) How can the instructions be reordered so that 'read-after-write' hazard do not occur without changing the function of the programme?
Total
25
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions

Question

Did you include a prominent, attention-grabbing headline?

Answered: 1 week ago

Question

Did you follow BANGPP design checklist to review the layout?

Answered: 1 week ago