mirror of
https://github.com/simh/simh.git
synced 2026-03-04 10:34:40 +00:00
AltairZ80: Minor code clean up to avoid compiler warning
This commit is contained in:
@@ -262,7 +262,7 @@ t_stat sim_instr_8086(void) {
|
||||
PCX += 2;
|
||||
PCX_S = PCX;
|
||||
} else {
|
||||
PCX_S = (reason == STOP_HALT) | (reason == STOP_OPCODE) ? PCX : getFullPC();
|
||||
PCX_S = ((reason == STOP_HALT) || (reason == STOP_OPCODE)) ? PCX : getFullPC();
|
||||
}
|
||||
|
||||
setViewRegisters();
|
||||
|
||||
Reference in New Issue
Block a user