bitnot

Group: bits

Negate a bit string.

Syntax

bitnot destination:r-op source:r-op
    

Semantics

Every bit in the source bit string is negated. Ones become zeroes, and zeroes become ones. The source value is not modifed.

Examples

.function: example/0
    return
.end
    

Related instructions

bits, bitand, bitor, bitxor.