GCSE · Computer Science · AQA · Spec 8525
Registers
An instruction sits at address 20 in memory. The CPU can't just grab it: it must send the address out and wait for the contents to come back. Let's 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 keeps a record of every move.
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. The CPU's other key components are 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 it is increased by one.
- MAR (memory address register): holds the address being looked up in main memory, and sends it along the address bus.
- MDR (memory data register): holds whatever comes back from memory on the data bus — an instruction or a data item.
- CIR (current instruction register): holds the binary representation of the instruction to be executed; the control unit takes it from here to decode it.
- Acc (accumulator): holds data being used in calculations and the results of calculations.
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. The MAR 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
Without 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 September 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.