Question
The following program is being executed on an ARM processor which has 5 pipeline stages. Populate the following table showing the instruction in each stage
The following program is being executed on an ARM processor which has 5 pipeline stages.
Populate the following table showing the instruction in each stage of the pipeline as well as the value of the PC at the beginning of the cycle. Each row of the table represents one cycle. At the end of a cycle, an instruction moves to the next stage if the next stage is empty AND if the instruction has been able to be completed within its current stage.
Fill the following table indicate a stall with a *.
PC | IF | ID | EXE | MEM | WB ----------------------------------------- 1000
.data 00001020: operl: .word 2 00001000 :E3A02003 00001004:E59F0010 00001008:E5901000 0000100C: E0811002 00001010:E5801000 00001014:01A00000 00001018: EF000011 text mov ldr ldr add str nop swi .end r2 , #3 ro, operl rl, [ro] rl, rl, r2 rl, [ro] 0x11Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started