Whoops: RTI is 3B in the 6809 processor

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2018-08-22 10:24:12 +01:00
parent 10684a02f4
commit 90fb124bd7

View File

@ -295,7 +295,7 @@ int EightBit::mc6809::executeUnprefixed(uint8_t opcode) {
case 0x76: addCycles(7); BUS().write(ror(AM_extended_byte())); break; // ROR (extended)
// RTI
case 0x38: addCycles(6); rti(); break; // RTI (RTI inherent)
case 0x3B: addCycles(6); rti(); break; // RTI (RTI inherent)
// RTS
case 0x39: addCycles(5); rts(); break; // RTS (RTS inherent)