Bitwise operators (unary)

The unary bitwise operator is ~.

Syntax
  One's complement: 
~<operand>
  
Description

The ~ operator evaluates the one's complement of the operand.

The operand can be any expression evaluating to an absolute expression.

Example

See the following listing for an example of the unary bitwise operator.

Listing: Unary bitwise operator
~$C ; = $FFFFFFF3 (~%00000000 00000000 00000000 00001100
                   =%11111111 11111111 11111111 11110011)