Negate. Makes operand negative (two's complement).Algorithm:
Negate. Makes operand negative (two's complement).
Algorithm:
NEG Reg NEG memory
MOV AL, 5 ; AL = 05h NEG AL ; AL = 0FBh (-5) NEG AL ; AL = 05h (5) RET