Question 3: Pipeline Execution Diagram (1 Point) Let’s assum…
Question 3: Pipeline Execution Diagram (1 Point) Let’s assume a simple processor has a 5-stage instruction pipeline: Instruction Fetch (IF) Instruction Decode (ID) – Register operations happen here Execute (EX) Memory Access (MEM) Write Back (WB) Given the following sequence of instructions: LOAD R1, 0(R2); load memory address to register R1 ADD R3, R1, R4; add register R1 and R4, write to R3 SUB R5, R3, R6; subtract register R3 with R6, write to R5 STORE R5, 0(R7); store register R5 to memory address The pipeline execution diagram for these instructions is shown below when assuming there are no pipeline hazards or stalls. Identify any data hazards present and list them. If hazards exist, redraw the pipeline diagram using the provided template to include stalls to handle the hazards, assuming the register does not support write-through reads. Insert a table in the text box to answer this question like the following LOAD IF xx xx xx ADD SUB STORE