Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->NEG
NEG Negate accumulator
A <- 0 - A (Two's complement)
Flags
S | Set if result -ve, else cleared |
Z | Set if result zero, else cleared |
H | Set if half carry, else cleared |
P/V | Set if A was &80, else cleared |
N | Set always |
C | Set if A was not 0, else cleared |
No of | M | T | usec @ |
bytes | cycles | states | 2 MHz |
2 | 2 | 8 | 4 |