mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-22 15:31:12 +00:00
Also print program counter when dumping regs.
This commit is contained in:
parent
9da9f61f5a
commit
05cedfb1f5
@ -86,7 +86,8 @@ rk65c02_step(rk65c02emu_t *e, uint16_t steps) {
|
||||
void
|
||||
rk65c02_dump_regs(rk65c02emu_t *e)
|
||||
{
|
||||
printf("A: %X X: %X Y: %X SP: %X P: ", e->regs.A, e->regs.X, e->regs.Y, e->regs.SP);
|
||||
printf("A: %X X: %X Y: %X PC: %X SP: %X P: ",
|
||||
e->regs.A, e->regs.X, e->regs.Y, e->regs.PC, e->regs.SP);
|
||||
|
||||
if (e->regs.P & P_NEGATIVE)
|
||||
printf("N");
|
||||
|
Loading…
Reference in New Issue
Block a user