Complete 8086 instruction set[NEG]

NEG

Operands: REG memory Negate. Makes operand negative (two's complement). Algorithm: Invert all bits of the operand Add 1 to inverted operand Example: MOV AL, 5 ; AL = 05h NEG AL ; AL = 0FBh (-5) NEG AL ; AL = 05h (5) RET Flags: C Z S O P A r r r r r r