#include #include "cpu.h" void invalid_opcode(Cpu *cpu) { exit(EXIT_FAILURE); } void cpu_execute(Cpu *cpu) { uint8_t opcode; switch (opcode) { default: invalid_opcode(); break; } cpu->PC += 1; }