CPU simulator.