The old condition parity != fifo & 0x100, which was actually interpreted as (parity != fifo) & 0x100, was always false. Furthermore, if the condition was written as intended (parity != (fifo & 0x100)), it would have been always true when parity == 1.
The old condition
parity != fifo & 0x100
, which was actually interpreted as(parity != fifo) & 0x100
, was always false. Furthermore, if the condition was written as intended (parity != (fifo & 0x100)
), it would have been always true whenparity == 1
.