NOT Bitwise NOT MASM Operator
NOT expression
Performs a bitwise NOT (inverse) on expression, causing 1s to change
to 0s and 0s to change to 1s. The following table shows the result of
applying NOT to one bit:
Bit Result
0 1
1 0