Parity Flag

In computer processors the parity flag indicates if the number of set bits is odd or even in the binary representation of the result of the last operation. It is normally a single bit in a processor status register.

For example, assume a machine where a set parity flag indicates even parity. If the result of the last operation were 26 (11010 in binary), the parity flag would be 0 since the number of set bits is odd. Similarly, if the result were 102 (1100110 in binary) then the parity flag would be 1.

Read more about Parity Flag:  X86 Processors

Famous quotes containing the words parity and/or flag:

    The U.S. is becoming an increasingly fatherless society. A generation ago, an American child could reasonably expect to grow up with his or her father. Today an American child can reasonably expect not to. Fatherlessness is now approaching a rough parity with fatherhood as a defining feature of American childhood.
    David Blankenhorn (20th century)

    Swift blazing flag of the regiment,
    Eagle with crest of red and gold,
    These men were born to drill and die.
    Point for them the virtue of slaughter,
    Make plain to them the excellence of killing
    And a field where a thousand corpses lie.
    Stephen Crane (1871–1900)