What really happens inside a computer when a program runs?
From the first binary digits to modern processor execution, computer systems can seem like a collection of disconnected topics-logic gates, number systems, assembly language, processors, caches, memory, and parallelism. This book brings those pieces together into one clear, connected journey.
Designed for students, aspiring computer engineers, programmers, and curious readers who want to understand what happens beneath the software layer, this book builds computer systems from the ground up. Instead of treating each concept as an isolated subject, it shows how one layer leads naturally to the next.
You'll begin with the foundations of computing systems and digital representation, exploring binary, hexadecimal, two's complement, text, and floating-point numbers. From there, you'll move into Boolean algebra and logic gates, then learn how those fundamental ideas become practical combinational and sequential circuits.
As your understanding develops, the book progresses into:
- Boolean algebra, truth tables, and logic gates
- Karnaugh maps and combinational logic design
- Multiplexers, decoders, encoders, adders, and ALUs
- Latches, flip-flops, registers, counters, and finite state machines
- SystemVerilog for describing and verifying digital hardware
- Instruction set architecture and processor organization
- Assembly language, control flow, arrays, functions, and stack operations
- Single-cycle, multicyle, and pipelined processor designs
- Datapaths, control units, instruction execution, and performance
- Pipeline hazards, forwarding, stalling, and branch handling
- Cache organization, locality, cache misses, and memory hierarchy
- Virtual memory, address translation, page tables, TLBs, and I/O
- Amdahl's Law, CPI, IPC, superscalar execution, and out-of-order execution
- Modern processor extensions and the broader processor ecosystem
One of the book's greatest strengths is its progression. You don't simply learn what a component is-you see why it exists, how it is constructed, how it interacts with other components, and how the ideas eventually come together in a complete computing system.
Clear explanations, worked concepts, summaries, practice problems, and answer keys make the material useful for both structured study and independent learning. Each chapter is designed to reinforce what came before while preparing you for the concepts that follow.
Whether you are encountering computer architecture for the first time, reviewing core digital logic concepts, preparing for coursework or technical interviews, or simply want to understand how software becomes real computation, this book provides a structured path from fundamentals to advanced processor and memory concepts.
The goal is not merely to memorize terminology.
It is to understand the chain of ideas that turns simple binary representations and logic operations into functioning processors-and ultimately into the powerful computing systems we use every day.
Start with the foundations. Follow the connections. Build a deeper understanding of how computers actually work.