The contents of A are negated (two's complement). Operation is the same as subtracting A from zero.
neg
Operands
negLoading...
Variants
Every form of neg the assembler accepts. The cycles column counts clock
cycles, written as taken/not taken for the conditional forms.
| Instruction | Description | Flags | Bytes | Cycles |
|---|---|---|---|---|
| neg | The contents of A are negated (two's complement). Operation is the same as subtracting A from zero. | CN=1P/V=VHZS | 2 | 8 |