Start with the CPU's job
The central processing unit (CPU) carries out program instructions. Those instructions tell it how to process data and control actions. Main memory holds instructions and working data that the CPU can access; main memory does not interpret or execute the instructions itself.
In this simplified worked example, main-memory location 42 contains ADD 100 and location 100 contains the value 7. ADD 100 is an instruction: it tells this model processor to add the contents of address 100. The number 100 identifies where to look; the stored value 7 is the data used by the operation.
| Location | Stored contents | Meaning in this example |
|---|---|---|
| Memory address 42 | ADD 100 | Instruction to be fetched |
| Memory address 100 | 7 | Data needed later by the addition |
Fetch, decode and execute do different jobs
Fetch brings the next instruction from main memory into the CPU. Decode works out the instruction's meaning and the operation needed. Execute carries out that operation. Execution may read further data from main memory or write a result there, depending on the instruction.
The CPU repeats this cycle for successive instructions. A program can change which instruction comes next, for example with a branch; it does not have to visit every instruction in numerical address order. Timing and component coordination make this repeated work possible.
AQA focus
AQA: clock, bus and registers support the journey
The clock produces regular timing pulses which synchronise processor operations. It does not hold the program or decide what the instruction means. A clock cycle is a timing interval, not a guarantee that a whole instruction finishes: an instruction may need several cycles.
A bus is a collection of wires carrying data or signals between components. During a memory access, signals select and control the access and the requested instruction or data can be transferred. The bus provides a communication path; it does not perform the calculation.
A register is a small storage location inside the CPU, holding a currently needed address, instruction, data value or result. Registers keep immediate working state available quickly. Main memory holds the active program and working data more broadly; under AQA's definition it excludes registers and cache.
AQA requires the roles of registers, but not recall of specific register names. PC, MAR, MDR and accumulator in this worked example are named parts of a supplied explanatory model. You can explain AQA's fetch-execute cycle using the component roles without memorising those names.
OCR focus
OCR: von Neumann architecture and register roles
Von Neumann architecture is a computer design in which program instructions and data share the same main memory. In this lesson's worked example, address 42 holds the instruction ADD 100 and address 100 holds the data value 7. They share main memory but occupy different locations and have different roles: the instruction tells the CPU what to do, while the data supplies a value to use.
CPU registers hold the small pieces of state currently needed for processing. An address identifies a location; its contents are the instruction or data stored there. Fetch brings an instruction from main memory into the CPU. Decode identifies its meaning; execute carries out the requested action.
The Program Counter (PC) stores the address of the next instruction. The Memory Address Register (MAR) stores the address currently being accessed. The Memory Data Register (MDR) holds data or instructions transferred to or from memory. The accumulator holds intermediate arithmetic or logic results.
OCR requires these register roles and the distinction between addresses and data. Its specification does not require a memorised script of detailed transfers between registers. Some teaching models also label a Current Instruction Register (CIR), which holds the current instruction. CIR is not an additional required register name in this specification.
| Register | What it holds |
|---|---|
| PC | Address of the next instruction |
| MAR | Address currently being accessed |
| MDR | Data or instruction being transferred |
| Accumulator | Intermediate arithmetic or logic result |
Continue with your exam board
The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.
Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.