Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->NEGX

NEGX   Negate with Extend


0 - Destination - X -> Destination


Assembler Syntax:   NEGX.L Dn


Size: Long

Subtracts the destination operand and the extend bit from zero.  Stores the result in the destination location.


Condition Codes:

N    Set if result negative, else cleared
Z    Cleared if result non-zero, else unchanged
V    Set if overflow, else cleared
C    Set if borrow, else cleared
X    Set same as carry bit