NEG: Negate:- The negate instruction forms the 2's complement of the particular destination in the instruction. For obtaining 2's complement, it subtracts the contents of destination from the zero. The output is stored back in the destination operand, which can be a memory location or a register. If OF is set, it denote that the operation could not be finished successfully. This instruction affects all of the condition code flags.