
Z80 Instruction Set UM008007-0715
248
Z80 CPU
User Manual
Condition Bits Affected
S is unknown.
Z is set if specified bit is 0; otherwise, it is reset.
H is set.
P/V is unknown.
H is reset.
C is not affected.
Example
If Index Register contains 2000h and bit 6 in memory location 2004h contains a 1, then
upon the execution of a BIT 6, (IY+
4h) instruction, the Z flag and the F Register still con-
tains a 0, and bit 6 in memory location
2004h still contains a 1. Bit 0 in memory location
2004h is the least-significant bit.
Comentarios a estos manuales