You copied the Doc URL to your clipboard.

12.27 Operator precedence

armasm includes an extensive set of operators for use in expressions. It evaluates them using a strict order of precedence.

Many of the operators resemble their counterparts in high-level languages such as C.

armasm evaluates operators in the following order:

  1. Expressions in parenthesesare evaluated first.

  2. Operators are applied in precedence order.

  3. Adjacent unary operators are evaluated from rightto left.

  4. Binary operators of equal precedence are evaluatedfrom left to right.

Was this page helpful? Yes No