Welcome to Computer Internals
Why this site exists, how it is organized in levels, and how to use the x86 simulator.
Published on 1 min read
Most explanations of how a computer works stop at one level: a programming tutorial never shows the assembly, an architecture course rarely runs your own code. Computer Internals follows one program all the way down.
Organized in levels
A computer is a stack of abstraction levels, each implemented by the one below:
- Programming languages — the C you write
- Assembly — one line per instruction
- Operating system — processes, virtual memory, system calls
- Instruction set — the bytes the CPU actually decodes
- Microarchitecture — fetch, decode, execute, buses and caches
- Digital logic — gates, adders, flip-flops
- Devices — transistors and CMOS
Learn by stepping
The simulator compiles C to x86 in your browser and lets you execute it one instruction — or one micro-operation — at a time, with every register, flag, stack slot and bus cycle visible.