Antoine Rakotozafy ← From Bits to Agents
From Bits to Agents · 04/31Chapter I · The Foundations

Computer architecture: From components to capabilities

In the previous articles, we looked at how information can be represented, how logic can make decisions, and how transistors provide physical switches. But switches and logic gates alone do not make a programmable computer.

The next step is organization. How do we arrange components so a machine can receive instructions, work with information, and produce a result?

That is the role of computer architecture.

A simplified computer system, with a processor connected to memory, storage, and input and output.

From dedicated machines to stored instructions

Early computers were often designed around specific tasks. A major shift came with the idea of storing a program in a computer’s memory, alongside the data it would operate on. That made it possible to change what a machine did by changing its instructions, rather than rebuilding the machine itself. The Computer History Museum’s history of the stored-program computer describes this transition.

The idea is simple, but powerful: the hardware provides a set of capabilities; a program tells it how to use them.

Before stored programs, a new task meant rewiring or resetting the machine. With a stored program, a new task means loading new instructions into memory.

The computer as a workshop

Picture a workshop handling a small job: add 6 and 8.

The program is the set of instructions for the job. Memory is the active workspace holding those instructions and the values they need. The processor, or CPU, carries out the work. Inside it, the control unit coordinates the steps, registers hold values in immediate use, and the arithmetic logic unit (ALU) performs calculations and logical operations.

Inside the processor: the control unit coordinates the steps, the ALU calculates and compares, and registers hold the values in use.

Storage is more like the workshop’s archive: it keeps programs and files for later, including when the computer is off. Input and output connect the computer to the outside world. The connections between components, like the cables and circuit links inside a computer, carry information and control signals.

Memory is the fast, temporary workspace for what is in use. Storage is the larger, slower archive that keeps programs and files when the power is off.

This is a teaching model. Modern computers contain more layers and specialized components, but the model helps explain the basic roles.

A simplified model of a computer: the processor at the centre, connected to memory, storage, and input and output.

Following one instruction

A simple way to understand a processor’s work is the instruction cycle:

  1. Fetch an instruction from memory.
  2. Decode what the instruction asks the computer to do.
  3. Execute it using the appropriate processor components.
  4. Store the result, if needed.
The instruction cycle as a loop: fetch, decode, execute, store, then back to fetch. In the example, the processor works out 6 + 8 = 14.

For our addition, the CPU retrieves the instruction and the values, performs the calculation, and makes the result available. A real program repeats these steps many times. Intel’s microprocessor educational material explains the fetch, decode, and execute pattern.

The processor does not need to understand “a spreadsheet” or “a hotel booking.” It follows instructions expressed in a form the hardware can execute. Later articles will look at how people write those instructions and how operating systems help applications use the machine.

Why the organization matters

Architecture turns electronic components into a general-purpose tool. The same computer can calculate a total, store a document, or run a booking system because instructions and data can be loaded and processed according to a shared structure.

One computer architecture, many experiences: the same processor, memory and storage can total a retail basket, save a document or book a hotel room, depending on the program.

That structure also creates trade-offs. Memory, storage, and processor components serve different purposes and have different limits. How they are organized affects how efficiently a computer can handle a task.

A computer is like a kitchen: the chef is the CPU, the worktop is memory, the pantry is storage, and the pathways between them are the connections, like cables and links.

The key idea is that capability does not come from one component alone. It comes from the way components are connected and coordinated.

The layers so far: binary represents information, Boolean logic makes decisions, transistors switch, and architecture organizes it all into a programmable computer.

So far, we have built up from bits, to logic, to physical switches, to an organized computer. Next, we’ll look at a further question: how can computers handle multiple pieces of work at once?

References and further reading

About the author. I’m a Solution Architect with a background in Software Engineering, Product Management and Data Science & AI. My experience spans hospitality, retail, telecommunications and payments. I’m passionate about demystifying technology, connecting technical capabilities with business outcomes, and designing solutions that create meaningful human experiences.