mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-08-10 10:25:26 +00:00
Correct a couple of issues in the disassembler: All disassembler pause, correct PshX PulX decode.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
this.CPU = targetProcessor;
|
||||
}
|
||||
|
||||
public bool Pause { get; set; } = false;
|
||||
|
||||
public bool Ignore => this.CPU.HALT.Lowered()
|
||||
|| this.CPU.RESET.Lowered()
|
||||
|| this.CPU.NMI.Lowered()
|
||||
@@ -822,7 +824,7 @@
|
||||
registers.Add("PC");
|
||||
}
|
||||
|
||||
return string.Join(",", registers);
|
||||
return output + string.Join(",", registers);
|
||||
}
|
||||
|
||||
private string PshX(string mnemomic, string upon)
|
||||
@@ -871,7 +873,7 @@
|
||||
registers.Add("CC");
|
||||
}
|
||||
|
||||
return string.Join(",", registers);
|
||||
return output + string.Join(",", registers);
|
||||
}
|
||||
|
||||
private byte GetByte(ushort absolute) => this.BUS.Peek(absolute);
|
||||
|
Reference in New Issue
Block a user