GCSE · Computer Science · AQA · Spec 8525
Registers
The CPU can't just grab an instruction from memory. It sends an address out and waits for the reply, and five tiny registers run that errand. Watch.
Computer Science · Inside the CPU
Follow one instruction round the registers
Main memory: address 20 holds the instruction LOAD 50, which means “put the data from address 50 into the accumulator”. Address 50 holds the number 7. The PC starts on 20.
Predict first: the 7 passes through one register on its way to another. Which register does it end up stored in?
Phase: Fetch — the starting point
PC
20
MAR
—
MDR
—
CIR
—
Acc
—
Address bus
—
Data bus
—
Control bus
—
Output
PC = 20 (the address of the next instruction)
Step 1: The PC holds 20. That isn't a count of anything. It's the address where the next instruction is waiting.
Press Next to move one step at a time. A dash means that store isn't holding anything for this instruction yet. The log underneath records every move, so you can look back.
Computer Science · Structure
Where the registers live
Zoom out from what you just watched. Tap any part to see its job.
Tap any part of the diagram to see what it does.
The fork at the MDR
Instruction or data? Follow the route
A value has just arrived in the MDR. Pick what it is, and follow where it goes.
What arrived in the MDR?
2 possible routes.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Five tiny stores inside the CPU, and one question that tells them apart: is it holding an address, or what was stored there?
What you need to know
- Registers are very small, very fast memory locations inside the CPU.
- They work alongside the CPU's other key parts: the control unit, the ALU, the buses and the clock.
- PC (program counter): holds the memory address of the next instruction to fetch.
- During each fetch, the control unit tells the PC, on the control bus, to increase by one.
Have a goA fetch starts with 40 in the PC. When the fetch is over, what number is in the PC?
41
The PC goes up by one during the fetch so it points at the next instruction. 40 would mean it never moved; it isn't counting anything, just pointing.
- MAR (memory address register): holds the address being looked up, and sends it to main memory on the address bus.
- MDR (memory data register): catches whatever comes back on the data bus, an instruction or a data item.
Have a goYour mate Sam is very sure: "The MAR nips off to memory and comes back holding the data." Which register should Sam have said the data lands in?
The MDR.
The MAR only ever holds the address, the where. Whatever is stored at that address travels back on the data bus into the MDR.
- CIR (current instruction register): holds the binary representation of the instruction to be executed, ready for the control unit to decode.
- Acc (accumulator): holds data being used in calculations, and the results of calculations.
Have a goSplit all five registers into two teams: the ones that hold an address, and the ones that hold what was stored at an address.
Address team: PC and MAR. Contents team: MDR, CIR and Acc.
The CIR is the easy one to misplace: it holds the instruction itself, not the address the instruction came from.
- Once an instruction is decoded, the control unit can put an address from it into the MAR, using the control bus.
The big picture
Registers are very small, very fast memory locations inside the CPU. Five of them each have their own job. The program counter (PC) holds the address of the next instruction and goes up by one during each fetch. The memory address register (MAR) holds an address and sends it to main memory on the address bus. The memory data register (MDR) catches whatever comes back on the data bus. If that is an instruction, it is copied to the current instruction register (CIR) for the control unit to decode; if it is data, it is stored in the accumulator (Acc).
Key points
Worked example
Problem
You catch the CPU mid-cycle and see: PC = 63, MAR = 62, MDR = LOAD 90, CIR = LOAD 90. (LOAD 90 means “put the data stored at address 90 into the accumulator”.) (a) Which address was this instruction fetched from? (b) What will the MAR hold next, and what puts it there? (c) Where will the value from address 90 end up?
⚠ Watch out
Saying the MAR holds the data it finds. Looks convincing, because the MAR is the register that deals with memory. But it only ever holds an address. The value found at that address arrives in a different register: the MDR.
Memory hook
Where versus what. The PC and MAR hold WHERE (an address). The MDR, CIR and Acc hold WHAT (the instruction or data found there). And the PC is a bookmark, not a scoreboard.
Check yourself
No scrolling up. The PC holds 8. Which register gets the 8 first, which bus takes it to memory, where does the reply land, and where does it go next if it's an instruction?
Flashcards
(14)What is a register?
Name the five registers in this lesson.
What does the program counter (PC) hold?
What happens to the PC during the fetch stage, and why?
What does the memory address register (MAR) hold?
What does the memory data register (MDR) hold?
What does the current instruction register (CIR) hold?
What does the accumulator (Acc) store?
Which bus carries an address from the MAR to main memory?
Which bus brings an instruction or data item back from main memory to the MDR?
The MDR is a fork in the road. What are the two turnings?
Which two registers hold memory addresses?
Apart from copying the PC, how else can an address get into the MAR?
Besides the registers, what are the other key components inside the CPU?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 30 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.