5.1.4 Logic operators

The following logic operators are available.

Operator

Overview

!

Obtains the logical negation (NOT) by each bit.

&

Obtains the logical AND operation for each bit of the first and second term values.

|

Obtains the logical OR operation for each bit of the first and second term values.

^

Obtains the exclusive OR operation for each bit of the first and second term values.