mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-18 11:06:15 +00:00
Whoops: RTI is 3B in the 6809 processor
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
10684a02f4
commit
90fb124bd7
@ -295,7 +295,7 @@ int EightBit::mc6809::executeUnprefixed(uint8_t opcode) {
|
|||||||
case 0x76: addCycles(7); BUS().write(ror(AM_extended_byte())); break; // ROR (extended)
|
case 0x76: addCycles(7); BUS().write(ror(AM_extended_byte())); break; // ROR (extended)
|
||||||
|
|
||||||
// RTI
|
// RTI
|
||||||
case 0x38: addCycles(6); rti(); break; // RTI (RTI inherent)
|
case 0x3B: addCycles(6); rti(); break; // RTI (RTI inherent)
|
||||||
|
|
||||||
// RTS
|
// RTS
|
||||||
case 0x39: addCycles(5); rts(); break; // RTS (RTS inherent)
|
case 0x39: addCycles(5); rts(); break; // RTS (RTS inherent)
|
||||||
|
Loading…
Reference in New Issue
Block a user