The fetch–decode–execute cycle Cambridge IGCSE Computer Science revision
Not started
Learn it
In plain words
A CPU does the same three things over and over, billions of times a second: fetch the next instruction from memory, work out what it means, and carry it out.
Follow one instruction on its journey and the registers make sense: each one is a stopping place on the way.
6 things to know
- Fetch: the address in the program counter is copied to the memory address register, along the address bus.
- The instruction at that address in RAM is copied to the memory data register, along the data bus.
- The program counter is increased by one, so it points at the next instruction.
- The instruction is copied from the memory data register to the current instruction register.
- Decode: the control unit decodes the instruction in the current instruction register.
- Execute: the control unit sends control signals to carry the instruction out. Any calculation is done by the ALU and its result is stored in the accumulator. Then the cycle starts again.
Worked example
The program counter holds 20. Describe the fetch stage for this instruction.
- The address 20 is copied from the PC to the MAR.
- The instruction stored at address 20 in RAM is sent along the data bus to the MDR.
- The PC is increased to 21, ready for the next cycle.
- The instruction is copied from the MDR to the CIR, ready to be decoded.
Tips and tricks
- Get the order right: PC to MAR, memory to MDR, MDR to CIR. Draw it as a chain of arrows if that helps you remember.
- Name the bus as well as the register. The address travels on the address bus, the instruction on the data bus.
It lands in your notebook with its questions as flashcards.
The fetch–decode–execute cycle: 5 questions and answers
These are the quiz’s questions. Do the quiz first, then come back here for the ones that got you.
What is the correct order of the cycle?
Get it, understand it, do it.
In the fetch stage, where is the address in the program counter copied to?
The MAR holds the address that memory is asked for.
Where does a fetched instruction go first when it arrives from RAM?
It then moves on to the CIR.
Which component decodes the instruction?
The control unit decodes it and sends out control signals.
What happens to the program counter during the fetch stage?
It then holds the address of the next instruction.
Quiz
5 questions
Tap an answer and you’ll see straight away whether it’s right, and why.
Worksheet
2 questions, 6 marks. Write your answers on paper, then check them.
The fetch–decode–execute cycle
Cambridge IGCSE Computer Science 0478 · 6 marks · papermunch.org
Name ______________________________ Date ______________
Describe the fetch stage of the fetch–decode–execute cycle.[4]
Show answerHide answer
The address of the next instruction is copied from the PC to the MAR. The instruction at that address is copied from RAM to the MDR. The PC is incremented. The instruction is copied from the MDR to the CIR.
Describe what happens in the decode and execute stages.[2]
Show answerHide answer
The control unit decodes the instruction held in the CIR. It then sends control signals so the instruction is carried out, with any calculation done by the ALU and the result stored in the accumulator.
Answers: The fetch–decode–execute cycle
- 1. The address of the next instruction is copied from the PC to the MAR. The instruction at that address is copied from RAM to the MDR. The PC is incremented. The instruction is copied from the MDR to the CIR.
- 2. The control unit decodes the instruction held in the CIR. It then sends control signals so the instruction is carried out, with any calculation done by the ALU and the result stored in the accumulator.



