mirror of
https://github.com/sethm/symon.git
synced 2024-12-29 02:31:59 +00:00
Fix disassembled opcode display on trace log for zero page,X and zero page,Y addressing modes.
This commit is contained in:
parent
4ccb7bec97
commit
429fec97b2
@ -1464,10 +1464,10 @@ public class Cpu implements InstructionTable {
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]));
|
||||
break;
|
||||
case ZPX:
|
||||
sb.append(" $" + HexUtil.byteToHex(a) + ",X");
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",X");
|
||||
break;
|
||||
case ZPY:
|
||||
sb.append(" $" + HexUtil.byteToHex(a) + ",Y");
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",Y");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user