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