3.1

Topic 3

Computer architecture

  • IGCSE Computer science 0478
  • 4 min read
  • Syllabus 2026, 2027 and 2028

Objectives

  1. 1

    • aUnderstand the role of the central processing unit (CPU) in a computer
    • bUnderstand what is meant by a microprocessor
  2. 2

    • aUnderstand the purpose of the components in a CPU, in a computer that has a Von Neumann architecture
    • bDescribe the process of the fetch–decode–execute (FDE) cycle, including the role of each component in the process
  3. 3

    Understand what is meant by a core, cache and clock in a CPU and explain how they can affect the performance of a CPU

  4. 4

    Understand the purpose and use of an instruction set for a CPU

  5. 5

    Describe the purpose and characteristics of an embedded system and identify devices in which they are commonly used

Cambridge IGCSE Computer Science 0478 syllabus 2026-2028, 3.1 Computer architecture (copied for internal use as permitted by Cambridge)

Detailed · Deep study

1The central processing unit

CPU

The part of a computer that processes instructions and data, by carrying out the fetch–decode–execute cycle.

microprocessor

An integrated circuit on a single chip that carries out the functions of a CPU.

In a Von Neumann architecture, the program instructions and the data are both stored in the same memory (RAM), and the CPU fetches them one at a time.

Fig. 1Components of the CPU and the buses.
ComponentPurpose
arithmetic logic unit (ALU)carries out calculations (+, −) and logical operations (AND, OR, comparisons)
control unit (CU)sends control signals to manage the FDE cycle; decodes instructions
program counter (PC)holds the address of the next instruction to be fetched
memory address register (MAR)holds the address of the memory location about to be read from or written to
memory data register (MDR)holds the data or instruction just read from memory, or about to be written to it
current instruction register (CIR)holds the instruction currently being decoded and executed
accumulator (ACC)holds the results of calculations from the ALU
address buscarries addresses from the CPU to memory (one way)
data buscarries data and instructions between the CPU and memory (two way)
control buscarries control signals, e.g. read/write and clock signals (two way)

2The fetch–decode–execute cycle

Fig. 2Each instruction goes through these steps.
  1. The address held in the PC is copied into the MAR (via the address bus).
  2. The CU sends a read signal along the control bus; the instruction stored at that address is copied into the MDR (via the data bus).
  3. The PC is incremented by 1, so it holds the address of the next instruction.
  4. The instruction in the MDR is copied into the CIR.
  5. The CU decodes the instruction in the CIR.
  6. The instruction is executed: e.g. the ALU carries out a calculation and the result is stored in the ACC. The cycle then repeats.

3Cores, cache and clock

FactorWhat it isEffect on performance
corea processing unit within the CPU; each core can carry out its own FDE cyclemore cores → more instructions processed at the same time (but software must be able to use them, and cores must communicate, so doubling cores does not double speed)
cachesmall, very fast memory inside or near the CPU, holding frequently used instructions and datalarger cache → data found in cache more often, so fewer slower trips to RAM (but cache is expensive)
clocka clock sends regular pulses that synchronise the CPU; clock speed is the number of cycles per second, e.g. 3.5 GHzfaster clock → more FDE cycles per second (but more heat; overclocking can make the CPU unstable)

4Instruction sets

An instruction set is the list of all the commands (machine code instructions) that a particular CPU can process, such as add, load, store, compare and jump. Each has an opcode that tells the CPU what to do, and may have an operand (the data or address to use).

Programs must be translated into the instruction set of the CPU they will run on. Different families of CPU (e.g. x86 in many laptops, ARM in most phones) have different instruction sets, so machine code for one will not run on the other.

See Topic 4 · SoftwareTranslators convert high-level code into machine code – see 4.2.

5Embedded systems

embedded system

A computer system, built around a microprocessor or microcontroller, that is part of a larger device and has a dedicated function.

CharacteristicsBenefitsDrawbacks
dedicated to one tasksmall, so fits inside the devicedifficult to upgrade; often must be replaced
small and low powercheap to mass-producelimited user interface
programs held in firmware (ROM)reliable, starts instantlyif connected to the internet, can be hacked
often real time, controlled by sensorsuses little powertroubleshooting needs specialists

Examples: washing machines, microwave ovens, central heating systems, car engine management and anti-lock brakes, security alarms, traffic lights, vending machines, digital cameras, fitness trackers.

6Exam focus

Key words: CPU; microprocessor; Von Neumann; ALU; CU; PC; MAR; MDR; CIR; ACC; address bus; data bus; control bus; FDE cycle; core; cache; clock speed; instruction set; embedded system.

Quick self-check

Answer in your head first, then reveal.

  1. Holds the address of the memory location to be read from or written to (1).

  2. Address in PC copied to MAR (1); via address bus (1); instruction at that address copied to MDR via data bus (1); PC incremented (1); MDR copied to CIR (1).

  3. More frequently used data/instructions can be stored in cache (1); cache is faster than RAM, so less time waiting for data (1).

  4. The address bus (1).

  5. Any two: dedicated function; part of a larger device; small/low power; firmware; real time (2).

Finished this subtopic? Track it on your subject page.