Skip to content
IRC-CodingIRC-Coding
Computer ArchitectureCPUBusRAMROMAddressing

Computer Architecture Basics: CPU, Bus & Memory

Learn computer architecture fundamentals: CPU structure, bus systems, RAM/ROM, cache, and addressing modes explained simply.

S

schutzgeist

2 min read
Computer Architecture Basics: CPU, Bus & Memory

Computer Architecture Fundamentals – CPU, Bus, Memory, Addressing

This article provides a definition and overview of computer architecture fundamentals, including exam questions, core components, and key concepts.

In a Nutshell

Computer architecture describes the logical structure and operation of a computer system. The central components are the CPU, memory, bus systems, and addressing mechanisms.

Core Definition

The CPU (Central Processing Unit) is the computational engine of the computer and executes instructions. It consists of:

  • Control unit (coordinates instruction execution)
  • Arithmetic Logic Unit (ALU) (performs arithmetic and logical operations)
  • Registers (extremely fast temporary storage)

Data and instructions move between the CPU, memory, and peripherals via a bus system:

  • Data bus
  • Address bus
  • Control bus

Memory includes:

  • RAM (volatile, fast)
  • ROM (non-volatile)
  • Cache (very fast, located near the CPU)

Addressing determines how memory cells are accessed. The addressable space depends on the architecture and bus width—for example, 32-bit systems can address a specific number of locations.

Exam-Relevant Key Points

  • CPU as the central processing unit (ALU + control unit)
  • Bus system: address, data, and control lines
  • RAM versus ROM
  • Binary addressing; address space depends on bit width (relevant for technical certification exams)
  • Memory access via addresses on the address bus
  • Security consideration: incorrect addresses and buffer overflows
  • Performance: bus and memory architecture as potential bottlenecks
  • Documentation: architecture and addressing logic must be understandable

Core Components

  1. CPU
  2. Control unit
  3. ALU
  4. Register set
  5. Bus system
  6. Main memory (RAM/ROM)
  7. Cache
  8. Peripherals
  9. Addressing scheme
  10. Memory hierarchy

Simple Practical Example

32-bit system: 2^32 addresses = 4 GiB address space
Address 0x00000000 -> first memory cell
Address 0xFFFFFFFC -> last (aligned) memory location

Explanation: The CPU addresses RAM via the address bus; data travels over the data bus; the control bus signals read or write operations.

Advantages and Disadvantages

Advantages

  • Standardized structure enables universal programmability
  • Modular design (CPU/memory/I/O) is extensible
  • Scaling possible through bus width and address space

Disadvantages

  • Bus bottlenecks under high access load
  • Limited address space in 32-bit systems
  • Unprotected memory access introduces security risks

Typical Exam Questions (with Brief Answers)

  1. What is the CPU’s role? Execute instructions, process data, control system operations.
  2. What types of buses exist? Address bus, data bus, control bus.
  3. What does 32-bit addressing mean? Up to 2^32 memory addresses can be directly addressed.
  4. RAM versus ROM? RAM is volatile and writable; ROM is non-volatile and typically read-only.

Study Strategy

  1. Draw a block diagram (CPU/bus/memory).
  2. Calculate address spaces for 16-bit, 32-bit, and 64-bit systems.
  3. Practice exercises on bus width and addressing.
  4. Work through failure scenarios mentally (overflow, incorrect addresses).

Further Reading

  1. https://www.inf-schule.de/rechner/netze/architektur
  2. https://www.elektronik-kompendium.de/sites/bau/0201211.htm
Back to Blog
Share:

Nächster Artikel in Computer Architecture

Weiterlesen
Computer Architecture Basics: CPU, Bus & Memory

Related Posts