ALU
—
ACC
0
CIR
—
CU
Control Unit
PC
0
SR
—
MBR
—
MAR
—
CPU
DATA BUS CONTROL BUS ADDRESS BUS
RAM
Speed:
About this resource · GCSE & A-Level

Watching the fetch–decode–execute cycle

Every instruction a processor runs goes through the fetch–decode–execute cycle. The program counter (PC) holds the address of the next instruction. That address is copied to the memory address register (MAR) and sent along the address bus. The instruction comes back along the data bus into the memory buffer register (MBR) and is copied to the current instruction register (CIR) to be decoded by the control unit.

During execution, the ALU carries out the operation and results are held in the accumulator (ACC), while the status register records flags such as overflow. Set the two inputs, then step through the cycle to watch values move between registers and along the buses.

Note that OCR calls the MBR the memory data register (MDR). It's the same register, so use your board's name in the exam.

Exam tips

Specification

Processor components and the fetch–decode–execute cycle, GCSE and A-Level (OCR and AQA).

Related resources

Browse all free Computer Science resources →

Want one-to-one help with this topic? I'm Damian Biasone, a qualified Computer Science teacher with 20 years' experience, tutoring GCSE and A-Level students online.

AQA A-Level (7517) tuitionOCR GCSE (J277) tuition