Zilog Z08470 User Manual
Page 254

Z80 Instruction Set
UM008007-0715
242
Z80 CPU
User Manual
H is set.
P/V is unknown.
N is reset.
C is not affected.
Example
If bit 2 in Register B contains 0, then upon the execution of a BIT 2, B instruction, the Z
flag in the F Register contains 1, and bit 2 in Register B remains at 0. Bit 0 in Register B is
the least-significant bit.