EasyManua.ls Logo

Rabbit 2000 - And Hl,De

Rabbit 2000
120 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Other manuals for Rabbit 2000