<s>
In	O
computer	O
processors	O
the	O
parity	B-General_Concept
flag	I-General_Concept
indicates	O
if	O
the	O
numbers	O
of	O
set	O
bits	O
is	O
odd	O
or	O
even	O
in	O
the	O
binary	O
representation	O
of	O
the	O
result	O
of	O
the	O
last	O
operation	O
.	O
</s>
<s>
For	O
example	O
,	O
assume	O
a	O
machine	O
where	O
a	O
set	O
parity	B-General_Concept
flag	I-General_Concept
indicates	O
even	O
parity	O
.	O
</s>
<s>
If	O
the	O
result	O
of	O
the	O
last	O
operation	O
were	O
26	O
(	O
11010	O
in	O
binary	O
)	O
,	O
the	O
parity	B-General_Concept
flag	I-General_Concept
would	O
be	O
0	O
since	O
the	O
number	O
of	O
set	O
bits	O
is	O
odd	O
.	O
</s>
<s>
Similarly	O
,	O
if	O
the	O
result	O
were	O
10	O
(	O
1010	O
in	O
binary	O
)	O
then	O
the	O
parity	B-General_Concept
flag	I-General_Concept
would	O
be	O
1	O
.	O
</s>
<s>
In	O
x86	B-Operating_System
processors	O
,	O
the	O
parity	B-General_Concept
flag	I-General_Concept
reflects	O
the	O
parity	O
only	O
of	O
the	O
least	O
significant	O
byte	O
of	O
the	O
result	O
,	O
and	O
is	O
set	O
if	O
the	O
number	O
of	O
set	O
bits	O
of	O
ones	O
is	O
even	O
(	O
put	O
another	O
way	O
,	O
the	O
parity	O
bit	O
is	O
set	O
if	O
the	O
sum	O
of	O
the	O
bits	O
is	O
even	O
)	O
.	O
</s>
<s>
According	O
to	O
80386	B-General_Concept
Intel	O
manual	O
,	O
the	O
parity	B-General_Concept
flag	I-General_Concept
is	O
changed	O
in	O
the	O
x86	B-Operating_System
processor	O
family	O
by	O
the	O
following	O
instructions	O
:	O
</s>
<s>
In	O
conditional	O
jumps	O
,	O
parity	B-General_Concept
flag	I-General_Concept
is	O
used	O
,	O
where	O
e.g.	O
</s>
<s>
the	O
JP	O
instruction	O
jumps	O
to	O
the	O
given	O
target	O
when	O
the	O
parity	B-General_Concept
flag	I-General_Concept
is	O
set	O
and	O
the	O
JNP	O
instruction	O
jumps	O
if	O
it	O
is	O
not	O
set	O
.	O
</s>
<s>
The	O
flag	O
may	O
be	O
also	O
read	O
directly	O
with	O
instructions	O
such	O
as	O
PUSHF	O
,	O
which	O
pushes	O
the	O
flags	B-General_Concept
register	I-General_Concept
on	O
the	O
stack	O
.	O
</s>
<s>
One	O
common	O
reason	O
to	O
test	O
the	O
parity	B-General_Concept
flag	I-General_Concept
is	O
to	O
check	O
an	O
unrelated	O
x87-FPU	O
flag	O
.	O
</s>
<s>
The	O
FPU	B-General_Concept
has	O
four	O
condition	O
flags	B-General_Concept
(	O
C0	O
to	O
C3	O
)	O
,	O
but	O
they	O
can	O
not	O
be	O
tested	O
directly	O
,	O
and	O
must	O
instead	O
be	O
first	O
copied	O
to	O
the	O
flags	B-General_Concept
register	I-General_Concept
.	O
</s>
<s>
When	O
this	O
happens	O
,	O
C0	O
is	O
placed	O
in	O
the	O
carry	B-Algorithm
flag	I-Algorithm
,	O
C2	O
in	O
the	O
parity	B-General_Concept
flag	I-General_Concept
and	O
C3	O
in	O
the	O
zero	B-Algorithm
flag	I-Algorithm
.	O
</s>
<s>
incomparable	O
floating	B-Algorithm
point	I-Algorithm
values	I-Algorithm
(	O
NaN	O
or	O
unsupported	O
format	O
)	O
are	O
compared	O
with	O
the	O
FUCOM	O
instructions	O
.	O
</s>
