Theory

CPU & Fetch-Execute Cycle

Understand how the processor runs every program

What You'll Learn

  • 🎯 Purpose of the CPU - Why every computer needs a processor
  • 🔧 CPU Components - Control Unit, ALU, Cache, and Registers
  • 🔄 Fetch-Execute Cycle - How instructions are processed
  • 📊 Tracing - Follow the cycle step by step
  • ⚡ CPU Performance - Clock speed, cache size, and cores
  • 🔧 Embedded Systems - Dedicated computers in everyday devices

Key Vocabulary

CPU (Central Processing Unit)
The "brain" of the computer that processes all instructions
Control Unit (CU)
Coordinates and manages all CPU operations
ALU (Arithmetic Logic Unit)
Performs arithmetic and logical operations
Cache
Small, fast memory for frequently used data
Registers
Tiny, super-fast memory inside the CPU (PC, MAR, MDR, ACC)
RAM
Main memory where programs and data are stored
Fetch-Execute Cycle
The continuous process of getting and running instructions
Von Neumann Architecture
Design where programs and data share the same memory
Clock Speed
Number of cycles per second, measured in GHz
Core
Independent processing unit within the CPU
Embedded System
Computer built into a device for a specific function

Inside the CPU

CPU

Control Unit

Coordinates operations

ALU

Does calculations

Registers

PC | MAR | MDR | ACC

The CPU contains the Control Unit, ALU, and Registers working together

The Fetch-Execute Cycle

Every instruction goes through these four stages:

1. FETCH

Get the next instruction from RAM

→

2. DECODE

Work out what the instruction means

→

3. EXECUTE

Carry out the instruction

→

4. STORE

Save the result

This cycle repeats billions of times per second!

Activities

CPU Performance

What makes one CPU faster than another? Understand the three key factors.

Embedded Systems

The hidden computers in everyday devices - from washing machines to cars.

Why Does This Matter?

Understanding the CPU helps you:

  • Choose better hardware - Know what CPU specs actually mean
  • Debug programs - Understand why code runs the way it does
  • Pass your exams - This is a key GCSE and A-Level topic!
  • Think like a computer scientist - See the big picture of how computers work