Instruction Reference Manual
21
Description
Performs a logical AND operation between the word in word register HL and the word in word register DE.
The relative bits of each byte are compared (i.e., the bit 1 of both bytes are compared, the bit 2 of both bytes
are compared, etc.) and the associated bit in the result byte is set only if both the compared bits are set. The
result is stored in HL. This instruction is implemented for the Rabbit and is not available for the Z180.
Description
•
AND IX,DE
performs a logical AND operation between the word in index register IX and the
word in word register DE. The result is stored in IX.
•
AND IY,DE
performs a logical AND operation between the word in index register IY and the
word in word register DE. The result is stored in IY.
The relative bits of each byte are compared (i.e., the bit 1 of both bytes are compared, the bit 2 of both bytes
are compared, etc.) and the associated bit in the result byte is set only if both the compared bits are set. These
instructions are implemented for the Rabbit and are not available for the Z180.
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
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 112: ...108 Rabbit 2000 3000 Microprocessor...
Страница 120: ...ii Rabbit 2000 3000 Microprocessor...