I'm writing an emulator for the z80 CPU using the "z80 CPU User Manual" from zilog.com as reference.
When I got into the AND operator I got confused. In the Condition Bits Affected is declared "P/V is reset if overflow; otherwise, it is reset."
I've tried to research somewhere and inside the Intel 8080 manual appears that the P flag is set, but the 8080 manual is not as clear as the z80 manual.
Page 158 of the manual. Inside "8-Bit Arithmetic Group".
Does this mean that AND affects P/V, or P/V is just reset? I want to mimic the correct behaviour of the z80 CPU, I don't want to mimic the manual, but I don't have a z80 to test it.
I know that are some unexplained areas in this manual, if anyone has a better reference for this case I will appreciate it.