mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-13 01:29:57 +00:00
Print value of PC register when unimplemented opcode encountered.
This commit is contained in:
parent
1820418c62
commit
5ca671aecb
@ -35,7 +35,8 @@ rk65c02_start(rk65c02emu_t *e) {
|
|||||||
if (id.emul != NULL)
|
if (id.emul != NULL)
|
||||||
id.emul(e, &i);
|
id.emul(e, &i);
|
||||||
else {
|
else {
|
||||||
printf("unimplemented opcode %X\n", i.opcode);
|
printf("unimplemented opcode %X @ %X\n", i.opcode,
|
||||||
|
e->regs.PC);
|
||||||
e->state = STOPPED;
|
e->state = STOPPED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user