
Z80 Instruction Set UM008007-0715
246
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.
N is reset.
C is not affected.
Example
If Index Register IX contains 2000h and bit 6 in memory location 2004h contains 1, then
upon the execution of a BIT 6, (IX+
4h) instruction, the Z flag in the F Register contains a
0 and bit 6 in memory location
2004h still contains a 1. Bit 0 in memory location 2004h
is the least-significant bit.
Kommentare zu diesen Handbüchern