The CPU is the computer's worker.
The CPU processes data and executes instructions.
Every program you open is made from instructions. The CPU fetches them, understands them, and carries them out.
↓
CPU processes
↓
Action happens
Understand what the CPU does, how its main components work together, and why the Fetch–Decode–Execute cycle sits at the heart of every computer.
The CPU processes data and executes instructions.
Every program you open is made from instructions. The CPU fetches them, understands them, and carries them out.
The CPU uses the Fetch–Decode–Execute cycle.
It fetches the next instruction from memory, decodes what it means, then executes it. This happens billions of times per second.
The CPU is like a chef following a recipe.
The chef gets the next recipe step, understands it, then does it. The kitchen has small workspaces for temporary notes and results.
Registers are very small, very fast storage locations inside the CPU.
You only need to recognise their names here. The next lessons explain how they work during the Fetch–Decode–Execute cycle.
| Short Name | Full Name |
|---|---|
| PC | Program Counter |
| MAR | Memory Address Register |
| MDR | Memory Data Register |
| CIR | Current Instruction Register |
| ACC | Accumulator |
The Control Unit manages the CPU and sends control signals.
The ALU performs arithmetic and logical operations. The result is stored in the accumulator.
RAM stores programs and data currently in use. It is volatile, so data is lost when power is off.
ROM stores start-up instructions such as BIOS or firmware. It is non-volatile.
Cambridge often tests whether students know the difference between addresses, data and instructions.
Students often say the accumulator carries out calculations.
That is incorrect. The ALU carries out calculations. The accumulator stores the result.
The CPU processes data and executes instructions using the FDE cycle.
Registers hold temporary values. The CU controls. The ALU performs calculations. RAM and ROM support the system.
Now that you understand the role of the CPU, the next lesson focuses on the first stage of the FDE cycle: Fetch.