CPU & GPU Simulator

See inside the machine. Understand how computers really work.

Launch Simulator

Why This Exists

Every time you run a program, billions of operations happen inside your computer in fractions of a second. But what actually happens? How does a CPU read your code? How does a GPU process thousands of calculations in parallel?

This simulator strips away the abstraction. You'll write real assembly code and watch, step by step, as the CPU fetches instructions from memory, decodes them, executes operations, and writes results back. No magic. No mystery. Just the raw mechanics of computation.

The Fetch-Decode-Execute Cycle

Every instruction your computer runs goes through this fundamental cycle. Our simulator visualizes each phase so you can see exactly what's happening inside the processor.

FETCH
Get instruction from memory
→
DECODE
Parse the instruction
→
EXECUTE
Perform the operation
→
WRITEBACK
Store the results

CPU vs GPU: Different Tools, Different Jobs

CPUs and GPUs are both processors, but they're designed for very different workloads. Our simulator includes both so you can see and feel the difference.

CPU - The Brain

  • Executes one instruction at a time
  • Great for complex, sequential logic
  • Handles branching and decisions
  • 8 general-purpose registers
  • 256 bytes of memory

GPU - The Muscle

  • 8 cores working in parallel
  • Processes 8 elements simultaneously
  • Perfect for data-parallel operations
  • 128 bytes of VRAM
  • Vector math operations

What You'll Learn

📝

Assembly Language

Write real assembly instructions and see them execute in real-time.

🔄

CPU Pipeline

Understand fetch, decode, execute, and writeback cycles.

⚡

Parallel Processing

See how GPUs process multiple data points simultaneously.

💾

Memory Operations

Watch data flow between registers, memory, and VRAM.

🏗️

Computer Architecture

Visualize the ALU, control unit, and data buses.

🎯

Hands-On Learning

Step through code line by line or micro-operation by micro-operation.

Built for Learning

Whether you're a student learning computer architecture, a developer curious about what happens beneath your high-level code, or just someone who wants to understand how computers work, this simulator makes the invisible visible.

Start with the built-in examples, modify them, break them, and learn by doing. There's no better way to understand a system than to watch it run.