Operation:
Source V Destination -->; Destination
Assembler Syntax:
OR <ea>, Dn
OR Dn, <ea>
Attributes: Size = (Byte, Word, Long)
Description: Performs an inclusive-OR operation of the
source operand with the destination operand and stores
the result in the destination location. The size of the oper-
ation can be specified as byte, word, or long. The contents
of an address register may not be used as an operand.
Condition Codes:
X Not affected.
N Set if the most significant bit of the result is set.
Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Always cleared.
C Always cleared.
Example:
1)
D1 = $FF00200F
D2 = $0100800F
OR.L D1,D2
Result:
D2 = $FF00A00F