EasyManuals Logo

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 #117 background imageLoading...
Page #117 background image
eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
108
Bit b, (IX/Y+d)
Bit Test
Operation
Z ~(IX/Y+d)[b]
Description
The (
IX/Y
+
d
) operand is an 8-bit value stored at the memory location specified by the
contents of the Index Register, IX or IY, added to the two’s-complement displacement
d
.
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 45.
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,(IX+d)X 5 DD, CB, dd, kk
BIT.S b,(IX+d)1 6 52, DD, CB, dd, kk
BIT.L b,(IX+d)0 6 49, DD, CB, dd, kk
BIT b,(IY+d)X 5 FD, CB, dd, kk
BIT.S b,(IY+d)1 6 52, FD, CB, dd, kk
BIT.L b,(IY+d)0 6 49, FD, CB, dd, 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