Re: A86: Parity Flag


[Prev][Next][Index][Thread]

Re: A86: Parity Flag




No, that's sign.  Parity is the sum of the bits.  If the total number of set
bits is even, then parity is even.  If not, then it's odd.  Arithmetic
instructions will set the parity/overflow flag if they overflow, and logical
instructions will clear it.  Other instructions leave it unaffected.

If you're not going to be helpful, you shouldn't post.  "the help file"
means nothing to a newbie looking for info.  The files z80href.txt and
z80instr.txt will tell you exactly which flags are affected by the
instructions.  They can be found on ticalc.org in the /text/z80 directory.
The official Zilog documentation also lists the info for each instruction,
although it's a bit cryptic.  You can view it on their site, or request the
free books from them (say you're using it for robotics or something).

> Parity is when it is + or - .
> Why don't you look in the help file ?




References: