CPU HQ: Mission 1
CPU HQ: Mission 1
Fetch, Decode, Execute
Learn first. Play next. Learn how the CPU carries out instructions, then run the headquarters yourself.

The processor is waiting for its next instruction. Learn how it works, then take charge of the headquarters.
RAM holds instructions and data.
Welcome to CPU HQ.
You’re the CPU’s new trainee. Help Byte collect an instruction, work out what it means and carry it out.
Ready to begin?
Press Start mission. We'll help the CPU carry out one instruction.
Teacher notes
This interactive game is an analogy for the fetch–decode–execute cycle, not a literal representation of the physical CPU. RAM is main memory, separate from the CPU. The instruction is fetched into the CPU, the control unit decodes it, and the ALU executes the arithmetic operation. The result is stored in a register as part of execution. ADD 5 + 3 is human-readable shorthand; the operands are already in CPU registers A and B. A real CPU repeats this cycle automatically. The walking trainee represents information moving through the computer, not a physical person or a component travelling through hardware.