Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->ORI

ORI   Inclusive OR Immediate

Compatibility: 68000, 68010, 68020 and CPU32 families.


Destination 'OR' Immediate Data -> Destination


Assembler Syntax:   ORI #<data>,<ea>


<ea> - data alterable or SR

Size:  Byte, Word or Long

Performs an inclusive-OR operation on the immediate data and the destination operand and stores the result in the destination location.

Condition Codes:

N    Set if most significant bit of result is set, else cleared
Z    Set if result zero, else cleared
V    Always cleared
C    Always cleared
X    Not affected

    
Allowable Addressing Modes
    
#(data),Dn
    
ORI#(data),Dn
ORI#(data),(An)
ORI#(data),(An)+
ORI#(data),-(An)
ORI#(data),(d16,An)
ORI#(data),(d8,An,Xn)
ORI#(data),(bd,An,Xn) 2
ORI#(data),([bd,An,Xn],od) 1
ORI#(data),([bd,An],Xn,od) 1
ORI#(data),(xxx).W
ORI#(data),(xxx).L
1   68020 only
2   68020 and CPU32 only