Zilog Z08470 User Manual

Page 256

Advertising
background image

Z80 Instruction Set

UM008007-0715

244

Z80 CPU
User Manual

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 the HL register pair contains

4444h

, and bit 4 in the memory location

444h

contains 1,

then upon the execution of a BIT 4, (HL) instruction, the Z flag in the F Register contains
0, and bit 4 in memory location

4444h

remains at 1. Bit 0 in memory location

4444h

is

the least-significant bit.

Advertising
This manual is related to the following products: