Performs the two’s complement negation of the valu e in the specified register or memory location by
subtracting the value from 0. Use this instruction only on signed integer numbers. If the value is 0, the instruction clears the CF flag to 0; otherwise, it sets CF to 1.
The OF, SF, ZF, AF,
and PF flag settings depend on the result of the operation.
NEG Two’s Complement Negation