Question: The code below describes the fetch-execute algorithm for a sequential control unit. The discussion of the control unit informally describes how a machine can be
The code below describes the fetch-execute algorithm for a sequential control unit. The discussion of the control unit informally describes how a machine can be made to run much faster by overlapping the fetch and execute operations. List the steps necessary to accomplish this overlap by explaining any new registers that might be needed, indicating which control unit components operate at the same time, and rewriting the fetch-execute algorithm.
PC = ;
IR = memory [PC];
haltFlag = CLEAR;
while (haltFlag not SET during execution) {
PC = PC + 1;
execute(IR);
IR = memory[Pc];
};
Step by Step Solution
3.47 Rating (160 Votes )
There are 3 Steps involved in it
The fetch function begins the task of getting the next instruction immediately after it fini... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
34-E-CE-OS (398).docx
120 KBs Word File
