Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->ORI to CCR
ORI to CCR Inclusive OR Immediate with Condition Codes
Compatibility: 68000, 68010, 68020 and CPU32 families.
CCR 'OR' Immediate Data -> Destination
Assembler Syntax: ORI #<data>,CCR
Size: Byte
Performs an inclusive-OR operation on the immediate operand and the condition codes and stores the result in the condition code register.
Condition Codes:
X | Set if bit 4 of immediate operand is 1, else unchanged |
N | Set if bit 3 of immediate operand is 1, else unchanged |
Z | Set if bit 2 of immediate operand is 1, else unchanged |
V | Set if bit 1 of immediate operand is 1, else unchanged |
C | Set if bit 0 of immediate operand is 1, else unchanged |