Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->NEG

NEG    Negate

0 - Destination -> Destination


Assembler Syntax:   NEG.L Dn


Size: Long

Subtracts the destination operand from zero 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    Set if overflow, else cleared
C    Cleared if result is zero, else set
X    Set same as carry bit