Topic 3 Hardware

3.2 Fetch-Decode-Execute Lab

Step through the FDE cycle at register level — the 5-mark question Cambridge asks every session.

🧪 Cambridge Exam Mode ON — hints hidden, feedback delayed, model answers locked until marking.
Path

3.2 Path

Mistakes

Mistakes

Progress

Stats

0%Accuracy
0Answered
0Streak
Bookmarks

Bookmarks

Book Notes

Book Notes

Title
Note
Knowledge Vault 2.0

Knowledge Vault

Add entry

Category
Confidence
Title
Info

Entries

📚 Book Notes
📖 Learn
🎮 Activities
✎ Practice
📋 Exam
🔄 Review
🏆 Mastery
§1 · Topic overview

What do I need to know before I start?

The Fetch–Decode–Execute (FDE) cycle is how the CPU processes every instruction, one at a time. It has three stages: Fetch gets the next instruction from memory, Decode works out what it means, and Execute carries it out. Cambridge tests this with diagram questions, "put the steps in order" questions, and "identify the registers/buses used" questions — all needing exact vocabulary. Master the sequence and the role of each register, bus and component at every stage.

§2 · Learning objectives

By the end of 3.2 you can…

ObjectiveWhy it matters
State the steps of the fetch stage in the correct orders24 — 4-mark diagram question; any four correct steps from the sequence earn marks.
Name the three registers and two buses used in fetchs25 — registers: PC, MAR, MDR (CIR accepted); buses: address and data.
State that the PC increments after sending the address to the MARs24 mark scheme — a specific, separately credited mark point.
Describe the decode stage: split into opcode and operands24 mark scheme (5b) — CIR/CU receives instruction → split into opcode/operand → decoded using the instruction set.
Define the instruction set preciselys25 mark scheme: "a list of all the commands that can be processed by the CPU".
Describe the execute stage and the role of the ALU and ACCs25 mark scheme: "ALU performs the mathematical/logical operation"; "accumulator stores the result of interim calculations".
§3 · Key terminology

Cambridge-approved terms

PC

Program Counter — holds the address of the next instruction to be fetched, then increments.

MAR

Memory Address Register — receives the address from the PC and sends it to RAM via the address bus.

MDR

Memory Data Register — receives the fetched instruction from RAM via the data bus.

CIR

Current Instruction Register — stores the instruction currently being decoded and executed.

Opcode / Operand

The instruction splits into an opcode (what to do) and an operand (what to do it to).

Instruction set

A list of all the commands that can be processed by the CPU.

Control Unit

Decodes the instruction and coordinates the cycle, sending signals along the control bus.

ALU

Arithmetic Logic Unit — carries out arithmetic and logical operations during execute.

ACC

Accumulator — stores the result of interim calculations. Built into the ALU.

§4 · Core theory

The three stages, step by step

Stage 1 · Fetch

StepWhat happens
1The address of the next instruction is copied from the PC to the MAR.
2The PC increments so it points to the next instruction.
3The MAR sends the address to RAM along the address bus.
4The Control Unit sends a read signal along the control bus.
5The instruction is fetched from RAM and travels back along the data bus into the MDR.
6The instruction is copied from the MDR into the CIR, ready to be decoded.

Stage 2 · Decode

StepWhat happens
1The instruction is held in the CIR.
2The Control Unit decodes it, splitting it into an opcode (the operation) and an operand (the data or address).
3The opcode is checked against the instruction set to work out what to do.

Stage 3 · Execute

StepWhat happens
1The CPU carries out the decoded instruction.
2If arithmetic or logic is needed, the ALU performs it; the result is stored in the ACC.
3Data may be read from or written to memory, or the program may jump to a new address.
4The PC has already incremented, so the cycle repeats from fetch.
§5 · Common misconceptions

Traps that cost marks every session

❌ "The CPU just does it"

For execute, Cambridge requires "the CPU carries out the decoded instruction" — name the ALU/ACC where relevant, don't be vague.

❌ Forgetting the PC increments

s24 mark scheme: the PC increments after sending the address to the MAR. It's a separate mark — don't skip it.

❌ MDR receives from the PC

The MDR receives the instruction from RAM via the data bus, not from the PC. The PC only holds the next address.

❌ Opcode = operand

The opcode says what to do; the operand says what to do it to. They are two different parts of one instruction.

❌ Vague "instruction set"

Define it exactly: "a list of all the commands that can be processed by the CPU".

❌ Address bus is bidirectional

The address bus is unidirectional (CPU → memory). The data bus is bidirectional.

§6 · Quick knowledge check

Check yourself — tap to reveal

Answer in your head, then tap to see the model answer. Aim for 5 of 6 before moving to Learn.

1 · What are the three stages of the FDE cycle?
Tap to reveal
Fetch (get the next instruction from memory), Decode (CU splits it into opcode/operand and decodes it), Execute (carry it out — ALU for arithmetic/logic).
2 · Which three registers are used in fetch?
Tap to reveal
PC, MAR and MDR (with the CIR at the end of fetch). Buses used: address bus and data bus.
3 · When does the PC increment?
Tap to reveal
After it sends the address to the MAR — so it points at the next instruction ready for the following cycle.
4 · What does the Control Unit do in decode?
Tap to reveal
It splits the instruction in the CIR into opcode (what to do) and operand (what to do it to), and decodes the opcode using the instruction set.
5 · Define "instruction set".
Tap to reveal
A list of all the commands that can be processed by the CPU.
6 · What does the ALU do in execute, and where does the result go?
Tap to reveal
The ALU performs the arithmetic or logical operation; the result is stored in the accumulator (ACC), which is built into the ALU.

✅ Ready for Learn?

Before moving on, make sure you can answer these without notes:

  • What happens in each of the three FDE stages, in order?
  • Which registers and buses are used in the fetch stage?
  • When does the PC increment?
  • What is the difference between opcode and operand?
  • What is the role of the ALU and ACC during execute?

The three stages

📥

1. Fetch

The next instruction is retrieved from RAM and brought into the CPU. This is where PC, MAR, MDR and CIR are all used.

🔍

2. Decode

The CU decodes the instruction in the CIR using the instruction set to work out what action is needed.

3. Execute

The instruction is carried out. If calculations are needed, the ALU is used and results go to the ACC.

Fetch stage — register by register

This is the stage that earns the most marks. Learn each micro-step.

PC holds address of next instruction
Address copied to MAR via address bus
MAR sends address to RAM
Instruction sent from RAM to MDR via data bus
Instruction copied from MDR to CIR
PC incremented (+1)
⚠ Critical trap: Students forget that the PC increments during the fetch stage. This is a separate mark point — don't skip it. (Jun 2023)

FDE cycle animation

Watch the complete cycle at register level. Each micro-step highlights.

PC
MAR
RAM
MDR
CIR
CU
ALU
ACC

Press ▶ Run to watch the full FDE cycle step by step.

Decode + Execute detail

Decode

The CU receives the instruction from the CIR. It uses the instruction set (all commands the CPU understands, in machine code) to decode what the instruction means and determine what action is required.

Execute

The decoded instruction is carried out. If arithmetic or logic is needed, data is sent to the ALU. The ALU performs the operation and stores interim results in the ACC. The final result may be written back to memory via the data bus.

⚠ Trap: Don't say "the CPU executes the instruction" — say WHAT happens: ALU performs calculation, ACC stores result, data written to memory. Be specific for marks. (Mar 2024)

Quick check

During the fetch stage, what happens AFTER the instruction arrives in the MDR?

It is copied to the CIR
It is sent to the ALU
It is decoded by the CU
It is stored in the ACC

Activity 1 — Which Stage?

Press New Question.

Activity 2 — What Happens Next?

Press New Question.

Activity 3 — Spot the Mistake

Press New Question.

Adaptive practice

Press New Question.

Cambridge-style questions

Press New Question.

Review quiz

Press New.

Exam traps

⚠ 1: PC increments during fetch — separate mark point. Don't skip it. (Jun 2023)
⚠ 2: Name the buses — address bus for addresses, data bus for data. (Jun 2024)
⚠ 3: Don't just say "CPU executes" — say WHAT: ALU calculates, ACC stores, data written back. (Mar 2024)
⚠ 4: CU decodes using the instruction set — not just "works out." (Jun 2023)
⚠ 5: The cycle repeats continuously — mention this for the final mark. (Jun 2024)

Memory triggers

🧠 "PC → MAR → RAM → MDR → CIR"

The fetch flow. Five components, five potential marks. Learn this sequence by heart.

🧠 "CU = decode, ALU = execute"

The CU decodes. The ALU executes calculations. Don't mix them.

🧠 "PC always moves forward"

After fetching, PC increments to point to the NEXT instruction. The cycle never stops.

Mastery Map

Checkpoints

[ ] Name all 3 stages in order
[ ] Fetch: PC→MAR→RAM→MDR→CIR
[ ] PC increments during fetch
[ ] Name buses used in fetch
[ ] CU decodes using instruction set
[ ] ALU performs calculations
[ ] ACC stores interim results
[ ] Full 5-mark FDE answer
[ ] Cycle repeats continuously
[ ] Cambridge exam confidence
Developer Panel