Skip to content

Commit

Permalink
hd6301: RTI after TRAP returns to the address where the trap error oc…
Browse files Browse the repository at this point in the history
…cured
  • Loading branch information
happppp committed Dec 4, 2023
1 parent 18b8bfd commit 6a2b6f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/cpu/m6800/6800ops.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ OP_HANDLER( illegl3 )
OP_HANDLER( trap )
{
logerror("m6800: illegal opcode: address %04X, op %02X\n",PC-1,(int) M_RDOP_ARG(PC-1)&0xFF);
PC--;
take_trap();
}

Expand Down

0 comments on commit 6a2b6f5

Please sign in to comment.