I see that in x86 CPUs, the parity flag (PF) is set when the number of bits set to 1 is even, and that only the first byte (lower 8 bits) of a value are ever tested.
The only case I am not sure about is when we are dealing with a value of 0.
I have seen at least other question where the parity flag seems to be set to 1 for a value of 0.
For instance, for the value 8000h the lower 8 bits are all 0, and the parity flag is said to be set to 1.
So, shall I accept that for 0 bits set to 1, the parity flag gets enabled, just like for an even number of bits set to 1?