Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->NEGX
NEGX Negate with Extend
Compatibility: 68000, 68010, 68020 and CPU32 families.
0 - Destination - X -> Destination
Assembler Syntax: NEGX <ea>
<ea> - data alterable
Size: Byte, Word, 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
Allowable Addressing Modes |
<ea> |
NEGX | Dn | |
NEGX | (An) | |
NEGX | (An)+ | |
NEGX | -(An) | |
NEGX | (d16,An) | |
NEGX | (d8,An,Xn) | |
NEGX | (bd,An,Xn) 2 | |
NEGX | ([bd,An,Xn],od) 1 | |
NEGX | ([bd,An],Xn,od) 1 | |
NEGX | (xxx).W | |
NEGX | (xxx).L |