mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-14 06:29:58 +00:00
Fix the ATX implementation in the M6502 core
This commit is contained in:
parent
bd289ed8fb
commit
9334f6ee93
@ -293,7 +293,7 @@ int EightBit::MOS6502::execute() noexcept {
|
||||
case 0xa8: memoryRead(PC()); Y() = through(A()); break; // TAY (implied)
|
||||
case 0xa9: A() = through(AM_Immediate()); break; // LDA (immediate)
|
||||
case 0xaa: memoryRead(PC()); X() = through(A()); break; // TAX (implied)
|
||||
case 0xab: A() = X() = through(AM_Immediate()); break; // *ATX (immediate)
|
||||
case 0xab: A() = X() = through((A() | 0xee) & AM_Immediate()); break; // *ATX (immediate)
|
||||
case 0xac: Y() = through(AM_Absolute()); break; // LDY (absolute)
|
||||
case 0xad: A() = through(AM_Absolute()); break; // LDA (absolute)
|
||||
case 0xae: X() = through(AM_Absolute()); break; // LDX (absolute)
|
||||
|
Loading…
x
Reference in New Issue
Block a user