Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->NOT

NOT    Logical Complement

Compatibility: 68000, 68010, 68020 and CPU32 families.

Ones complement Destination -> Destination


Assembler Syntax:   NOT <ea>


<ea> - data alterable

Size:  Byte, Word, Long

Calculates the ones complement of the destination operand and stores the result in the destination location.


Condition Codes:

N    Set if result negative, else cleared
Z    Set if result zero, else cleared
V    Always cleared
C    Always cleared
X    Not affected

    
Allowable Addressing Modes
    
<ea>
    
NOTDn
NOT(An)
NOT(An)+
NOT-(An)
NOT(d16,An)
NOT(d8,An,Xn)
NOT(bd,An,Xn) 2
NOT([bd,An,Xn],od) 1
NOT([bd,An],Xn,od) 1
NOT(xxx).W
NOT(xxx).L
1   68020 only
2   68020 and CPU32 only