Computer Architecture · Cambridge syllabus 3.1 · Lesson 1 of 5
CPU and Microprocessors
The CPU executes instructions and processes data. A microprocessor implements processing circuitry on an integrated circuit. Its control unit coordinates operations, while the ALU performs arithmetic and logical operations and registers hold immediately needed values.
By the end, you can
- Understand the role of the central processing unit.
- Explain that the CPU processes instructions and data.
- Understand what is meant by a microprocessor.
- Recognise that a microprocessor is an integrated circuit containing processing components.
CPU
The central processing unit is the part of a computer that carries out instructions. Every program, from an operating system to a game, is ultimately a list of very simple instructions, and the CPU fetches them from memory one at a time, works out what each one means, and does it.
The instructions themselves are simple: move a value from memory into the processor, add two numbers, compare two values, jump to a different instruction if a condition holds. Nothing individually clever happens. The apparent intelligence comes from doing billions of these a second in an order that a program has arranged.
A microprocessor is a CPU built as a single integrated circuit — one chip carrying the control unit, the arithmetic logic unit, the registers and usually some cache. Before this was possible a processor filled several boards, so the microprocessor is what made a computer small and cheap enough to put on a desk, and then into a phone and a washing machine.
The CPU cannot store a program by itself. It holds only a handful of values at a time, in its registers, and relies on main memory to hold the instructions and data it is working through. That division of labour is the architecture the rest of this topic describes.
Worth remembering
- The CPU fetches, decodes and executes the instructions that make up a program.
- Individual instructions are very simple; speed and ordering do the rest.
- A microprocessor is a CPU on a single integrated circuit.
Worked example
To add two values, the CPU obtains operands, directs the ALU to add them and stores the result.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
The ALU performs arithmetic and logic; the control unit coordinates the execution of instructions.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.