The CPU module is cpu.c, the memory module is mem.c. The IO module is implemented as call-back functions hooked through the memory module to selected memory addresses, and emulate the response of a ...