GCSE Computer Science · public explanation

The Fetch Cycle

Follow how a CPU fetches an instruction from memory. Explore addresses, register roles and von Neumann architecture, with GCSE OCR and AQA guidance.

Read the explanation and worked examples, then choose your exam board to continue with activities and practice in your account.

OCR J277On the specificationOCR J277 1.1.1

Explain von Neumann architecture: instructions and data share main memory. Know the roles and contents of the PC, MAR, MDR and accumulator, and distinguish data from addresses. Detailed transfers between registers are not required.

AQA 8525 (2027+)On the specificationAQA 8525 (2027+) 3.4.5

Know the meaning of fetch, decode and execute; specific register names are not required.

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.

LocationStored contentsMeaning in this example
Memory address 42ADD 100Instruction to be fetched
Memory address 1007Data 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.

RegisterWhat it holds
PCAddress of the next instruction
MARAddress currently being accessed
MDRData or instruction being transferred
AccumulatorIntermediate 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.