GCSE · Computer Science · Edexcel · Spec 1CP2
Von Neumann architecture
Your computer isn't clever. It grabs one instruction, works out what it means, does it — then goes round again, billions of times a second.
Computer Science · Fetch–decode–execute
Follow one instruction round the loop
RAM holds a tiny program. Address 20 holds the instruction LOAD 25, meaning “copy the number stored at address 25 into the accumulator”. Address 25 holds the number 14. Your cast: PC = where the next instruction is · MAR = the address we're about to visit · MDR = whatever just arrived from memory · CIR = the instruction being worked on · ACC = the accumulator, where data being processed ends up.
Before you press Next: when the instruction comes back from memory, which register do you reckon it lands in first?
Phase: Ready
PC
20
MAR
—
MDR
—
CIR
—
ACC
—
Address bus
—
Data bus
—
Control bus
—
Control unit
—
Output
Step 1: The program is already loaded into main memory (RAM). The program counter (PC) holds 20: the address of the next instruction to fetch. Nothing has moved yet.
Press Next to move one step at a time. A dash means that store isn't in use at this step — a bus sitting idle, or a register this walk-through hasn't needed yet.
Computer Science · Structure
Meet the machine that runs the loop
The dashed box is the CPU — the core of the computer, which receives instructions and executes them. Tap any part to see its job. The lines are buses: pathways that carry addresses, data and control signals between the parts.
Tap any part of the diagram to see what it does.
Computer Science · Registers and buses
Where, or what?
Pick an item, then pick its category: does it hold or carry an address, the contents of memory (data or an instruction), or control signals?
Still to sort
An address (0)
Where something is in memory
Where the line is: An address says WHERE to look. It is never the thing stored there.
Data or an instruction (0)
What is stored in memory
Where the line is: This is WHAT was found at an address — a value or an instruction — not the address itself.
Control signals (0)
Keeping everything in order and on time
Mixing up WHERE something is with WHAT is stored there is the number-one slip in this topic. Sort each register and bus and fix that line in your head.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
One small loop — fetch, decode, execute — repeated billions of times a second.
What you need to know
- Computer architecture is the design of a computer system. Modern computers use the von Neumann architecture, proposed by John von Neumann.
- The big idea is the stored program: instructions sit in memory alongside the data, and both are stored in binary.
- Older hardwired machines needed switches physically changed to run a new program. Stored programs made computers far more versatile.
Have a goYour mate insists: 'To switch a stored-program computer from a game to a spreadsheet, someone has to rewire it.' Are they right?
No — you just load the spreadsheet's instructions into memory.
Physically changing switches was the hardwired way. A stored-program machine keeps its program in memory, so a new program is a load, not a rebuild.
- Four parts: a CPU, main memory (RAM) that talks directly to the CPU, input/output connections, and secondary storage for saving and backing up.
- Inside the CPU, the control unit decodes and directs, the ALU does arithmetic and logic, and the clock sets the pace.
- Registers are tiny, very fast stores in the CPU. The PC holds the next instruction's address; the MAR holds the address being accessed.
- The MDR holds whatever just arrived from memory. The CIR holds the instruction being worked on. The accumulator holds data being processed and results.
Have a goThe PC holds 12. Is 12 an instruction, or the place where an instruction lives?
The place — 12 is a memory address.
The PC holds the address of the next instruction, never the instruction itself. Treating that number as the instruction is the trap.
- Three buses: the address bus carries addresses, the data bus carries data and instructions, and the control bus carries control signals.
- Fetch: PC copied to MAR, address out on the address bus, instruction back on the data bus to the MDR, copied to the CIR, PC + 1.
- Then the control unit decodes it, and only then is it executed. One instruction at a time, in order — then round again.
Have a goAn instruction has just landed in the MDR. Has the CPU carried it out yet? What still has to happen first?
Not yet: it goes to the CIR, the PC goes up by one, the control unit decodes it — then it's executed.
Arriving from memory is only the fetch. An instruction can only run once it has been fetched AND decoded.
The big picture
Modern computers use the von Neumann architecture. Its big idea is the stored program: the instructions sit in memory alongside the data, both in binary, so a new program is just a load, not a rewire. The CPU runs that program with one loop — fetch the next instruction from memory, decode it in the control unit, execute it — then round again. Five registers (PC, MAR, MDR, CIR and the accumulator) are tiny, fast stores inside the CPU, each with one job, and three buses carry addresses, data and control signals between the parts.
Key points
Worked example
Problem
The program counter holds 47. Describe what happens during the fetch stage of the next instruction, naming each register and bus involved, and state what the PC holds at the end of the fetch.
⚠ Watch out
Swapping the MAR and the MDR (or the address bus and the data bus). Easy to do — they sound alike. The MAR and the address bus deal with WHERE something is: an address. The MDR and the data bus deal with WHAT is there: the data or instruction itself.
Memory hook
Point, ask, catch, hold, decode, do: the PC POINTS at the next instruction, the MAR ASKS memory for it, the MDR CATCHES what comes back, the CIR HOLDS it, the control unit DECODES it — and then the CPU DOES it. Then round again.
Check yourself
No peeking: the PC holds 90. Which register gets 90 first, which bus takes it to memory, where does the instruction land, and what does the PC end on?
Flashcards
(15)What is computer architecture?
What is the stored program concept?
Why was a stored-program computer far more versatile than a hardwired machine?
Name the four main parts of the von Neumann architecture.
What does the control unit do?
What does the ALU do?
What does the CPU's clock do, and what does 2.5 GHz mean?
What is a register?
What does the program counter (PC) hold?
MAR vs MDR — what does each one hold?
What do the CIR and the accumulator hold?
What does each bus carry — address, data and control?
What is RAM's job, and what does 'volatile' mean?
What happens in the decode stage?
What happens in the execute stage of an instruction that loads data?
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 Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)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 26 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.