Fix disassembled opcode display on trace log for zero page,X and zero page,Y addressing modes.
This commit is contained in:
1 parent
4ccb7bec97
commit
429fec97b2
1 file changed
+2
-2
@@ -1464,10 +1464,10 @@ public class Cpu implements InstructionTable {
|
|||||||
sb.append(" $" + HexUtil.byteToHex(args[0]));
|
sb.append(" $" + HexUtil.byteToHex(args[0]));
|
||||||
break;
|
break;
|
||||||
case ZPX:
|
case ZPX:
|
||||||
sb.append(" $" + HexUtil.byteToHex(a) + ",X");
|
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",X");
|
||||||
break;
|
break;
|
||||||
case ZPY:
|
case ZPY:
|
||||||
sb.append(" $" + HexUtil.byteToHex(a) + ",Y");
|
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",Y");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user