Instruction Reference Manual
25
Description
Performs a logical AND operation between the word in HL and the word in DE. The relative bits of each byte
are compared (i.e., bit 0 of both bytes are compared, bit 1 of both bytes are compared, etc.). The associated bit
in the result byte is set only if both the compared bits are set. The result is stored in HL.
Description
•
AND IX,DE
performs a logical AND operation between the word in IX and the word in DE.
The result is stored in IX.
•
AND IY,DE
performs a logical AND operation between the word in IY and the word in DE.
The result is stored in IY.
The relative bits of each byte are compared (i.e., bit 0 of both bytes are compared, bit 1 of both bytes are com-
pared, etc.). The associated bit in the result byte is set only if both the compared bits are set.
AND HL,DE
Opcode
Instruction
Clocks
Operation
DC
AND HL,DE
2
HL = HL & DE
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
AND IX,DE
AND IY,DE
Opcode
Instruction
Clocks
Operation
DD DC
AND IX,DE
4 (2,2)
IX = IX & DE
FD DC
AND IY,DE
4 (2,2)
IY = IY & DE
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...