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
- Go to the controls
Choose a program and press Step to execute one instruction at a time.
- See what changed
Check the next opcode, program counter and pixels together. Tick timers advances the timers separately.
Guided play
Choose an experiment
Start with the baseline, compare one change, and then test a challenge. You can also use the lab freely below.
Monochrome display
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.