Shrink cpu.c and render it useful for our purposes.