瀏覽代碼

Fixed bug with LDX Absolute,Y

master
Bryan Miller 5 年之前
父節點
當前提交
8744d3cc60
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/chip/MOS6502/assembler.js

+ 1
- 1
src/chip/MOS6502/assembler.js 查看文件

@@ -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…
取消
儲存