Re: A86: Parity Flag


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

Re: A86: Parity Flag




The parity flag is also the overflow flag.  It's context is determined by
the last instruction that modified it.  If it has a V, then it means that
the instruction will set it if an overflow occurs.  If it has a P, then the
instruction will set or reset it depending on parity.  It's probably not
very useful, unless you're writing some _very_ optimized code, or an
emulator, etc.  I've never had a use for it in my code, but who knows, maybe
you will.

Hope this helps.


>
> Thanks for the help.  I found the two fles you mentioned.  I am looking at
> the table of instructions and what flags they affect and how in the
> z80href.txt file.  But next to many of the instructions under the parity
flag
> there is a "V" and the file does not say what that means (it just says
what
> -,*,0,1, and ? mean)  Do you know what the "V" means? If so, please tell
me.
> Thanks.
>
>



Follow-Ups: References: