Parity flag


Parity flag is a flag that shows whether the number of bits set as a result of the last binary operation is odd or even. Usually this flag is one bit in the processor flag.

For example, suppose that a flag with a set bit, and therefore 1 means that the number is even. If the result of the last operation is 26 (11010 in binary), then this flag will be 0 because there is an odd number of bits set. Similarly, for 102 (1100110 in binary log) this flag will be equal to 1 because there are even number of bits set.

wiki

Comments

Popular posts from this blog

Association of Jewish handicrafts "Jad Charuzim"

Grouping Red Arrows

Catechism of Polish Child