title: Parity flag for value of 0 in x86
body: <p>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.</p>
  
  <p>The only case I am not sure about is when we are dealing with a value of 0.</p>
  
  <p>I have seen at least other question where the parity flag seems to be set to 1 for a value of 0.</p>
  
  <p>For instance, for the value 8000h the lower 8 bits are all 0, and the parity flag is said to be set to 1.</p>
  
  <p><b>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?</b></p>