43
The 68000's Instruction Set
Description:
OR the source operand to the destination operand, and store the
result in the destination location.
Application:
The
OR
instruction is used to set selected bits of the operand. For
example, we can set the four most-significant bits of a longword
operand in D0 by executing:
OR.L #$F0000000,D0
Condition codes:
X N Z V C
- * * 0 0
Source operand addressing modes
Destination operand addressing modes
ORI
OR immediate
Operation:
[destination]
←
<literal> + [destination]
Syntax:
ORI #<data>,<ea>
Attributes:
Size = byte, word, longword
Description:
OR the immediate data with the destination operand. Store the
result in the destination operand.
Condition codes:
X N Z V C
- * * 0 0
Application:
ORI
forms the logical OR of the immediate source with the
effective address, which may be a memory location. For example,
ORI.B #%00000011,(A0)+
Summary of Contents for 68000
Page 1: ...Motorola 68000 s Instruction Set ...
Page 2: ......