Browse Source

Fixed bug with LDX Absolute,Y

master
Bryan Miller 5 years ago
parent
commit
8744d3cc60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/chip/MOS6502/assembler.js

+ 1
- 1
src/chip/MOS6502/assembler.js View File

@@ -557,7 +557,7 @@ class Assembler{
procFailed = StoreOp(this.__data, cmp, [0xA9, 0xA5, 0xB5, 0xAD, 0xBD, 0xB9, 0xA1, 0xB1], 2, 3); break;
// --- LDX
case 'ldx':
procFailed = StoreOp(this.__data, cmp, [0xA2, 0xA6, 0xB6, 0xAE, 0xBE, null, null, null], 2, 3, "zY"); break;
procFailed = StoreOp(this.__data, cmp, [0xA2, 0xA6, 0xB6, 0xAE, null, 0xBE, null, null], 2, 3, "zY"); break;
// --- LDY
case 'ldy':
procFailed = StoreOp(this.__data, cmp, [0xA0, 0xA4, 0xB4, 0xAC, 0xBC, null, null, null], 2, 3); break;

Loading…
Cancel
Save