Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->NEG
Negate (twos complement) Memory
Compatibility: 6800, 6802, 6803, 6303R, 6303X, 6303Y
00 - M -> M
Condition Code Register
C Set if result not equal to zero, else cleared
V Set if result equals %1000000, else cleared
Z Set if result zero, else cleared
N Set if result negative, else cleared
I Not affected
H Not affected
Addressing mode | op | cyc | bytes | Assembler syntax |
Index : | 60 | 6 | 2 | NEG <exprn.>,X |
Extend: | 70 | 6 | 3 | NEG <exprn.> |