CPU HQ – Free CPU Simulator
CPU HQ
Inside the machine
Press Play animation to watch the instruction move.
Click a component to find out what it does.
One instruction. Three steps.
RAM holds the instruction. The two numbers are already in the registers. Press Play animation to begin.
Quick check
Which part performs the calculation?
Teacher notes
A simplified register-based processor model. RAM holds the instruction, and operands are already in registers A and B. The readable ADD/SUB instruction is shorthand, not real machine code. Optional named registers illustrate a one-address instruction word and sequential execution. Processor designs vary, and not all GCSE boards require named registers. Moving tokens are a simplified visualisation of information flow, not a physical movement of hardware. The detailed register transfers are explained in GCSE detail mode.