neilobremski
Experienced Member
My understanding of the parity flag (PF) is that it's set when the result (low 8 bits) of the previous operation is EVEN otherwise it's cleared to mean ODD. What am I missing?
Code:
XOR AX, AX ; PF=1 (DEBUG shows "PE")
ADD AL, 02 ; PF=0 (DEBUG shows "PO")
OR AL, AL ; PF=0 (but AL==0x02, which is even!)