Skip to content

Arithmetic and Logic Operations

Opcodes that perform arithmetic and logic operations are:

Precedence and Associativity

The following table shows the precendence and associativity of arithmetic and logic operators. Precendence is shown in ascending order, with the least precedence first.

Operator Associatvity
|| && left
| left
& left
< > <= >= == != left
<< >> left
+ - left (right for unary)
* / % left
^ left
! right

See the Conditional Values section and the if family of opcodes for usage of logical operators.