
<
2
.75
7UGT U/CPWCN
#FFTGUU5RCEG
=L/2*
7/<:
OR
Logical OR
Instruction Format:
OR dst, src
Operation:
dst
←
dst OR src
The source operand is logically
OR
ed with the destination operand and the result is stored in the destination
operand. The contents of the source operand are not changed. The
OR
operation stores a 1 bit whenever either
of the corresponding bits in the two operands is a 1. Otherwise, a
0
bit is stored.
Flags:
When the instruction is executed, the flags are set as follows:
C:
The value set by the preceding instruction.
Z:
1 if the result is
0
; otherwise, 0.
S:
1 if bit 7 of the result is 1; otherwise, 0.
V:
0.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
OPC
dst
src
OPC
src
dst
OPC
dst
src
OPC (Hex)
Address Mode
dst src
42
43
r
r
r
Ir
44
45
R
R
R
IR
46
47
R
IR
IM
IM