You are here : assembly8086NOT

NOT - 8086

Invert each bit of the operand (Logical Not).

Algorithm:

  •  if bit is 1 turn it to 0.
  •  if bit is 0 turn it to 1.


Syntax

NOT Reg
NOT memory


Example

MOV AL, 00011011b
NOT AL ; AL = 11100100b
RET


Output / Return Value


Limitations


Alternatives / See Also


Reference