mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-23 07:30:31 +00:00
Clean up.
This commit is contained in:
parent
b498da3ac8
commit
bcedb50e48
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user