P (parity)is the count of '1's in the last 8 bits of any binary number expressed as even or odd. Logic 0 for odd parity; logic 1 for even parity.
-if a number contains three binary one bits, it has odd parity
-if a number contains no one bits, it has even parity
Chat with our AI personalities
If the answer (stored in accumulator) has an even no. of 1s, the parity flag is set or vice versa.... This flag may be modified after an arithmetic or logic operation......