Skip to game

02 / Virtual machine lab

CHIP-8 Emulator

Run a small program or step through it instruction by instruction. Watch the next opcode, registers, timers and pixels change together.

Try this demo

  1. Go to the controls

    Choose a program and press Step to execute one instruction at a time.

  2. See what changed

    Check the next opcode, program counter and pixels together. Tick timers advances the timers separately.

Monochrome display

A canvas-capable browser is required.
Program counter0x200
Next opcode0x00E0
Index register0x000
Executed0
Lit pixels0
Stack depth0

Registers

Delay timer0
Sound timer0

Memory at I

Interpreter controls

Hex keypad

Tap a keypad button or use its physical keyboard label. The sound timer is shown numerically.

Interpreter profile

Base CHIP-8 with Vx shifts, V0 jump offsets, clipped sprites and an unchanged I after bulk transfers. During Run, timers count down at 60 Hz. Step advances only the CPU.