Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->ORI to SR

ORI to SR   Inclusive OR Immediate with Status Register

Compatibility: 68000, 68010, 68020 and CPU32 families.


S 'OR' Immediate Data -> Destination


Assembler Syntax:   ORI #<data>,SR


Size:  Word

Performs an inclusive OR operation of the immediate operand and the contents of the status register and stores the result in the status register.  All implemented bits of the status register are affected.


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