Fetch-Decode-Execute Cycle
Computer Science: KS3, topic 3.1.5
The Fetch, Decode, Execute Cycle
To process instructions and data, the processor needs to get them from memory. To do this, the processor follows the fetch, decode, execute (FDE) cycle.

Fetch
- The address of the next instruction is copied.
- The address is copied from the Program Counter (PC) to the Memory Address Register (MAR).
- The PC is incremented to point to the next instruction.
- The next instruction will be needed when the cycle starts again.
- The instruction stored at the location held by the MAR is copied to the MDR.

Decode
- The Control Unit decodes the instruction.
- The Control Unit sends control signals to the component.
- The component is within or outside the CPU.
- The component needs to act.

Execute
- The instruction tells the component what to do. For example:
- The Arithmetic Logic Unit (ALU) does the operation set by the Control Unit.
- The value held by the Program Counter or Memory Address Register might change.
Test yourself on Fetch-Decode-Execute Cycle
Toggle until all are correct to show which registers are used in the fetch stage.
What happens during the fetch stage of the fetch, decode, execute cycle?
During a CPU cycle, the Arithmetic Logic Unit has been activated. During which stage of the FDE cycle was it activated?
The Fetch Stage of the Fetch, Decode, Execute Cycle