<< Previous | Next >>

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

B6

OR (HL)

5 (2,1,2)

A = A | (HL)


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.


<< Previous | Next >>