0984

Computer Architecture

Hardware · 4 question types

Exam Frequency Analysis

Past paper frequency (2018 to 2024)

This topic accounts for approximately 7% of your exam marks.

stable
Low
Stable7%

The fetch-decode-execute cycle and von Neumann architecture are tested almost every year.

The CPU runs the same three-step cycle, over and over, billions of times per second.

Stage 1: Fetch

The CPU pulls the next instruction from memory.

  1. The PC holds the address of the next instruction.
  2. The address in the PC is copied into the .
  3. The address is placed on the and sent to memory.
  4. The sends a "memory read" signal along the control bus.
  5. Main memory responds by placing the instruction at that address onto the .
  6. The instruction travels along the data bus into the .
  7. A copy of the instruction is transferred from the MDR into the .
  8. The PC is incremented by 1 so it now points to the next instruction in sequence.

Stage 2: Decode

The CPU works out what the instruction means.

  1. The Control Unit takes the instruction from the CIR.
  2. The instruction is split into two parts:
    • Opcode: which operation to perform (e.g. ADD, SUB, LOAD, STORE)
    • Operand: what value or address to operate on
  3. The CU works out what control signals will be needed for the execute stage.

Stage 3: Execute

The CPU carries out the instruction.

Depending on the opcode, this might involve:

  • The ALU performing an arithmetic or logical operation (the result goes into the ACC).
  • Reading data from memory (using the MAR, MDR and the buses again).
  • Writing data to memory.
  • Jumping the PC to a different memory address (changing the order of execution, e.g. for an IF statement or a loop).

After the execute stage, the cycle starts again with the fetch stage, using the new value of the PC.

The cycle in one line

Fetch (PC → MAR → address bus → memory → data bus → MDR → CIR; PC++)

Decode (CIR → CU splits into opcode + operand)

Execute (, memory, or PC jump; results often in ACC)

A circular flow diagram of the fetch-decode-execute cycle. Three labelled boxes, Fetch, Decode and Execute, are arranged around a CPU chip at the centre, joined by curved arrows that loop from Fetch to Decode to Execute and back to Fetch, showing the cycle repeating continuously
Source: Fetch Decode Execute Cycle by Save My Exams
Exam tip

The decode stage

"Describe the decode stage" is a recurring 3-marker, so you need to know that the instruction passes from the MDR to the CIR, then the Control Unit splits it into the opcode (the operation) and the operand (the value/address) — decoding is the Control Unit's job, not the ALU's.