Function and interaction of the main central processing unit components
In one sentence: The CPU uses the control unit, arithmetic logic unit, registers, and buses together to direct work and process information.
What you will learn
By the end, you should be able to describe what the named CPU units, registers, and buses do, explain how they interact, and distinguish single-core, multi-core, and co-processor arrangements.
Before you begin
No prior hardware knowledge is required. Here, a memory address identifies a location; data is the value or instruction stored there.
Key words
| Term | Simple meaning |
|---|---|
| Central processing unit (CPU) | The processor that carries out program instructions. |
| Control unit (CU) | Directs and coordinates CPU operations by issuing control signals. |
| Arithmetic logic unit (ALU) | Performs arithmetic operations and logical operations such as comparisons. |
| Register | A very small, fast storage location used inside the CPU. |
| Bus | A communication path carrying a particular kind of signal between components. |
| Co-processor | A processor that assists the CPU with a specialized type of work. |
The idea, step by step
The CPU is a set of cooperating parts rather than one single-purpose block.
Units and registers
- The CU coordinates CPU operations. It directs components and sends signals such as a memory-read or memory-write instruction.
- The ALU carries out arithmetic (for example, addition) and logic (for example, comparing two values). The CU coordinates an operation; the ALU performs the calculation or logic.
- A register holds a small amount of information close to the processing work:
- Program counter (PC): the address of the next instruction to be fetched.
- Instruction register (IR): the instruction currently being processed.
- Memory address register (MAR): the address of the memory location being accessed.
- Memory data register (MDR): data or an instruction moving between memory and the CPU.
- Accumulator (AC): an intermediate value, often a result from an ALU operation.
The registers have distinct roles: the PC and MAR hold addresses for different purposes; the MDR holds transferred information; the IR holds the current instruction; and the AC holds a working result.
Buses and communication
- The address bus carries the address of the memory location to access.
- The data bus carries the instruction or data being transferred. It can carry information in either direction.
- The control bus carries coordination signals, such as a read or write signal.
The buses are not interchangeable. An address answers where; data is what is transferred; a control signal indicates what action is to take place.
Processor arrangements
- A single-core processor has one processing core.
- A multi-core processor has two or more cores. Cores can work on separate tasks at the same time when the program and tasks allow it.
- A co-processor is a separate, specialized processor that supports the CPU with suitable work, such as graphics or audio processing.
More cores do not guarantee that every program will run proportionally faster: software must be able to divide work, and other system limits also affect performance. A co-processor is not another CPU register; it is a processing unit assigned a specialized role.
+--------------------- CPU ----------------------+
| |
| +------+ control signals +----------------+ |
| | CU |---------------->| ALU | |
| +--+---+ | arithmetic and | |
| | directs | logic | |
| +--v------------------+ +-------+--------+ |
| | Registers |<----------+ |
| | PC, IR, MAR, MDR, AC| values/results |
| +---+-------------+---+ |
+------|-------------|---------------------------+
| |
address bus: CPU -> memory | data bus: CPU <-> memory
control bus: CU -- read/write --> memory
| |
+------v-------------v------+
| Memory |
+---------------------------+
CPU <---------- specialized work ----------> Co-processor
This is a relationship diagram, not a timing diagram. It shows the named parts and the type/direction of communication; individual processor designs can organize the internal paths differently.
Worked example
Suppose an instruction needs a value stored at memory address 204 and then adds it to a value already being used.
- The location 204 is placed in the MAR; the address bus carries it to memory.
- The CU coordinates a read. The control bus carries the read signal.
- Memory returns the value on the data bus, and the MDR holds the transferred value.
- The CPU makes the values available to the ALU. The ALU adds them; the CU coordinates the operation, and the result can be held in the AC.
At each step, the component has a separate job: the MAR identifies the location, the buses carry distinct signals, the MDR receives the value, and the ALU calculates.
Check your understanding
- Which register holds the address being accessed, and which holds data arriving from memory?
- How do the CU and ALU roles differ?
- What kinds of information travel on the three buses?
- Give one reason a multi-core processor might not make a particular program run faster.
Common mix-up
It is easy to think: The PC and MAR both hold the same kind of address.
Instead, remember: The PC identifies the next instruction address; the MAR identifies the memory address currently being accessed.
Quick recap
- The CU coordinates; the ALU performs arithmetic and logic.
- The PC, IR, MAR, MDR, and AC each hold different information.
- Address, data, and control buses have different jobs.
- Single-core, multi-core, and co-processor designs offer different ways to process or support work.
Textbook reading
Read Computer Science (Baumgarten, Ganea, Turland, 2025), A1 Computer fundamentals > A1.1 Computer hardware and operation > A1.1.1 Function and interaction of the main central processing unit components, Book pp. 2–4 (PDF pp. 12–14). The syllabus outcome is A1.1.1: “Describe the functions and interactions of the main CPU components” (Guide p. 28; PDF p. 34).
Sources and further learning
This lesson addresses the complete listed scope of IB Computer Science Guide 2027 outcome A1.1.1. The explanations, diagram, and example are original; use the cited textbook pages for further reading.