Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->OR

OR     Logical Inclusive OR


Destination 'OR' Source -> Destination

    
Assembler Syntax:OR.L <ea>,Dn
OR.L Dn,<ea>

Size: Long

Performs an inclusive-OR operation on the source operand 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
    
<ea>,DnDn,<ea>
    
Dn,Dn
(An),Dn Dn,(An)
(An)+,DnDn,(An)+
-(An),DnDn,-(An)
(d16,An),DnDn,(d16,An)
(d8,An,Xn),DnDn,(d8,An,Xn)
(xxx).W,DnDn,(xxx).W
(xxx).L,DnDn,(xxx).L
#(data),Dn
(d16,PC),Dn
(d8,PC,Xn),Dn