Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-155
ORI ORI
to CCR Inclusive-OR Immediate to CCR
to Condition Codes
(M68000 Family)
Operation: Source V CCR → CCR
Assembler
Syntax: ORI # < data > ,CCR
Attributes: Size = (Byte)
Description: Performs an inclusive-OR operation on the immediate operand and the
condition codes and stores the result in the condition code register (low-order byte of
the status register). All implemented bits of the condition code register are affected.
Condition Codes:
X — Set if bit 4 of immediate operand is one; unchanged otherwise.
N — Set if bit 3 of immediate operand is one; unchanged otherwise.
Z — Set if bit 2 of immediate operand is one; unchanged otherwise.
V — Set if bit 1 of immediate operand is one; unchanged otherwise.
C — Set if bit 0 of immediate operand is one; unchanged otherwise.
Instruction Format:
XNZVC
∗∗∗∗∗
1514131211109876543210
0000000000111100
00000000 8-BIT BYTE DATA
Kommentare zu diesen Handbüchern