Instruction Reference Manual
71
Description
Performs a logical OR between the data in word register HL and the data 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 if either of the compared bits is set. The result is stored in
HL. This instruction was implemented for the Rabbit and is not available for the Z180.
Description
•
OR IX,DE:
Performs a logical OR operation between the data in index register IX and the
data in word registers DE. The result is stored in IX
•
OR IY,DE:
Performs a logical OR operation between the data in index register IY and the
data 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 if either of the compared bits is set. These
instructions were implemented for the Rabbit and are not available for the Z180.
OR HL,DE
Opcode
Instruction
Clocks
Operation
EC
OR HL,DE
2
HL = HL | DE
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
OR IX,DE
OR IY,DE
Opcode
Instruction
Clocks
Operation
DD EC
OR IX,DE
4 (2,2)
IX = IX | DE
FD EC
OR 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 112: ...108 Rabbit 2000 3000 Microprocessor...
Page 120: ...ii Rabbit 2000 3000 Microprocessor...