@instruction<EOL><INDENT>def NOT(cpu, dest):<DEDENT>
res = dest.write(~dest.read())<EOL>
One's complement negation.

Performs a bitwise NOT operation (each 1 is cleared to 0, and each 0
is set to 1) on the destination operand and stores the result in the destination
operand location::

    DEST  =  NOT DEST;

:param cpu: current CPU.
:param dest: destination operand.