Crossware

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:

XSet if bit 4 of immediate operand is 1, else unchanged
NSet if bit 3 of immediate operand is 1, else unchanged
ZSet if bit 2 of immediate operand is 1, else unchanged
VSet if bit 1 of immediate operand is 1, else unchanged
CSet if bit 0 of immediate operand is 1, else unchanged