mirror of
https://github.com/open-simh/simh.git
synced 2026-01-21 02:17:22 +00:00
AltairZ80: Minor code clean up to avoid compiler warning
This commit is contained in:
parent
4092a7bf6f
commit
8aaf4598d0
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user