CPU (PROCESSOR) SIMULATION

▸ Supplying the clock pulses…
▸ Building the PC · IR · ACC registers & the ALU
▸ Addressing the RAM cells (von Neumann)
▸ Wiring the address / data / control BUS
▸ Loading the sample program into memory…
▸ Ready — Online. ✅
0%
⌂ Mind & Machine

Simulation room CPU — How a computer runs

CPU · Fetch–Decode–Execute
Online
fetch · decode · execute
Instruction cycle
⚙️ Fetch–Decode–Execute
PC (next instr)
IR (instruction)
ACC (accumulator)
Phase
Clock ticks
Viewing
Notes
A CPU just repeats one loop forever: FETCH the instruction at the PC address → DECODEEXECUTE (ALU/ACC/RAM) → repeat. Billions of loops per second (GHz) weave together all software.
Pick a ‘Scenario’ to load a different program (add / loop / multiply / Fibonacci…) · ⏭ step one clock tick at a time · click a concept (PC/IR/ACC/ALU/RAM/BUS…) for details
Your browser has canvas disabled.
Accumulator ACC value over clock ticks ACC
About How a CPU Works

How a CPU Works is one of 20 topics in the Mind & Machine domain (bit → AI scale) at My Labs — an interactive simulation atlas. This virtual lab runs right in your browser: adjust the parameters, pick a scenario and watch the phenomenon change in real time, with a click-to-inspect cross-section for every structure.

Related topics in Mind & Machine