/opcodes/neg

Arithmetic // NEG (NEGate)

Description

The contents of the Accumulator are negated (two’s complement). This method is the same as subtracting the contents of the Accumulator from zero. Note:The 80h address remains unchanged.

Example

The Accumulator contains the following data: 10011 0 00 Upon the execution of a NEG instruction, the Accumulator contains: 01110 0 00

Opcodes