<< Previous | Next >>

OR (HL)     Bitwise OR     Rabbit 2000/30000/3000A Instruction

Opcode
Instruction
Operation
B6 OR (HL) A = A | (HL)

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000
5
n/a
n/a

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
L
0
·
·
·

Description

Performs a bitwise OR operation between A and the data whose address is in HL.The result is stored in A.

Example

If the byte in A is 0100 1100 and the byte in the memory location pointed to by HL is 1110 0101, the operation:


OR (HL)

would result in A containing 1110 1101.


Rabbit Instructions << Previous | Next >> rabbit.com