6.2. The Processor

This basic model of a computer as a processing unit that takes some input, communicates with a memory, and produces output, is known as the von Neumann architecture after the early computer scientist John von Neumann. In this architecture, the processor itself consists of multiple specialized parts:

CPU Structure

Modern computers add many layers of complexity to this basic model. One such modification seen in the picture above is multiple busses - in the diagram on the previous page and the original von Neumann architecture, there is only one system bus that can carry messages from one component to another. This means that the processor and memory would have to take turns talking: “CPU: Please send me the data at address 1 in memory”; “Memory: OK, the data at 00001 is 01010111.”; “CPU: Please send me the data at address 2 in memory”… Having multiple busses avoids this bottleneck by allowing the CPU communicate the next address it wants at the same time memory sends data back to the CPU.

The ALU

ALU

The arithmetic logic unit is a collection of circuits that can do math and logic. Early processors could only do very simple operations - add or subtract numbers, compare two numbers to see which is larger, and do Boolean logic (to say combine two values with XOR). More complex operations, like multiplication, might have to be performed via simpler operations that the ALU can do directly. Instead of multiplying two numbers, a very simple computer would have to add them repeatedly.

As components became smaller, more and more logic could be built into ALUs - from circuits to do multiplication, to circuits to work with floating-point decimals or process text. Nowadays, almost every processor has multiple ALUs that work in parallel and are often specialized for specific jobs.

Materials on this page adapted with permission from:
Microprocessor Tutorial by Matthew Eastaugh
You have attempted of activities on this page