AARM User's Guide

Discontinued

Operators

Operators may be unary (requiring one operand) or binary (requiring two operands). The combination of an operator and its operand(s) is an expression. Parentheses may be used in expressions with multiple operators to specify the order in which operators are evaluated. If no parentheses are used in an expression, operator precedence determines the evaluation order.

Following is the operator precedence table:

LevelOperators
0( )
1.
3HIGH LOW
BYTE0 BYTE1 BYTE2 BYTE3 BYTE4 BYTE5 BYTE6 BYTE7
WORD0 WORD2 WORD4 WORD6
NOT ! Unary + Unary -
4* / % MOD
5+ -
6SHL << SHR >>
7AND & OR | XOR ^
8EQ == NE != <<b>LT < LE <= GT > GE >=