Computer Architecture: CPU Design – Control Unit, ALU, Registers & Fetch-Decode-Execute
This article is a concept explainer for the CPU – complete with exam questions and tags.
In a Nutshell
The CPU is the heart of every computer – it executes instructions, processes data, and manages all essential operations within the system.
Core Technical Definition
The CPU (Central Processing Unit) is the central processing unit of a computer. It consists of the control unit, the ALU (arithmetic logic unit), and various registers. The control unit interprets machine instructions and coordinates data flow. The ALU handles arithmetic and logical operations. Registers serve as fast storage locations for temporary data. Modern CPUs are typically multi-core processors with multiple logical processing units and feature cache memory for performance optimization. CPU performance depends on factors such as clock frequency, architecture, cache size, and core count.
Exam-Relevant Key Points
- CPU is the computational and control center of the system
- Comprises control unit, ALU, and registers
- Executes arithmetic, logical, and control operations
- Operates according to the Fetch-Decode-Execute cycle (relevant for IHK)
- Registers are extremely fast temporary storage
- Weak CPUs can expose security vulnerabilities like Spectre
- Multi-core increases computational power with lower energy consumption
- CPU design and operation must be documented
Core Components
- Control Unit
- ALU (Arithmetic Logic Unit)
- Register set
- Program Counter (instruction pointer)
- Instruction Register
- Data bus interface
- Cache (L1, L2, L3)
- Clock (timing oscillator)
- Instruction set
- Interrupt control
Practical Example
// Example: ADD instruction ADD R1, R2
An ADD R1, R2 instruction is decoded in the control unit →
ALU adds the values from register R1 and R2 →
Result is stored in register R1.
Explanation: The CPU cycle controls instruction execution:
1. Fetch (load)
2. Decode (decode)
3. Execute (execute)
Advantages and Disadvantages
Advantages
- Universally programmable
- High computational speed
- Parallel processing via multi-core
- Complex control logic implementable
Disadvantages
- Dependent on instruction set
- High heat generation under high load
- Limited internal storage (register count)
Typical Exam Questions (with Brief Answers)
- What is the main task of the CPU? Executes instructions, processes data, and controls system components.
- What are the main components of the CPU? Control unit, ALU, and registers.
- What are registers in the CPU? Fast memory for temporary data within the CPU.
- What is the instruction cycle of the CPU? Fetch → Decode → Execute.
- What is the Program Counter? A register holding the address of the next instruction.
- CPU cache versus RAM? Cache is faster and closer to the CPU, but smaller than RAM.
- Are multi-core CPUs more powerful? They can process multiple instruction streams simultaneously.
- What is the ALU and what does it do? A component that performs arithmetic and logical operations.
Key References
- https://www.heise.de/hintergrund/Was-ist-eigentlich-eine-CPU-6119071.html
- https://www.elektronik-kompendium.de/sites/com/0201041.htm
- https://www.inf-schule.de/rechner/netze/architektur
- https://en.wikipedia.org/wiki/Instruction_set
- https://meltdownattack.com/



