EasyManuals Logo
Home>ZiLOG>Computer Hardware>eZ80

ZiLOG eZ80 User Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #115 background imageLoading...
Page #115 background image
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
106
Bit b, (HL)
Bit Test
Operation
Z ~(HL)[b]
Description
The (HL) operand is an 8-bit value stored at the memory location specified by the contents
of the multibyte register HL. This instruction tests bit
b
of this 8-bit value and sets the 0
Flag (Z) if the bit is 0. The Z Flag is reset if bit
b
of operand (HL) is a one.
Condition Bits Affected
Attributes
kk = binary code 01 bbb 110, where bbb identifies the bit tested and assembled into the
object code, as indicated in Table 44.
S Undefined.
Z Set if bit b is 0; reset otherwise.
H Set.
P/V Undefined.
N Reset.
C Not affected.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
BIT b,(HL) X 3 CB, kk
BIT.S b,(HL) 1 4 52, CB, kk
BIT.L b,(HL) 0 4 49, CB, kk

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG eZ80 and is the answer not in the manual?

ZiLOG eZ80 Specifications

General IconGeneral
BrandZiLOG
ModeleZ80
CategoryComputer Hardware
LanguageEnglish

Related product manuals