1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-06-18 08:29:29 +00:00

Clean up.

This commit is contained in:
Radosław Kujawa 2017-01-20 09:11:22 +01:00
parent b498da3ac8
commit bcedb50e48

View File

@ -32,16 +32,11 @@ rk65c02_start(rk65c02emu_t *e) {
i = instruction_fetch(e->bus, e->regs.PC);
id = instruction_decode(i.opcode);
// instruction_execute(e, i);
if (id.emul != NULL)
id.emul(e, &i);
else
printf("unimplemented opcode %X\n", i.opcode);
/* if (i.opcode == 0xDB) // STP
e->state = STOPPED;*/
e->regs.PC += id.size;
}