Assembler Reference
ARM DUI 0068B
Copyright © 2000, 2001 ARM Limited. All rights reserved.
3-25
The highest precedence operators are at the top of the list.
The highest precedence operators are evaluated first.
Operators of equal precedence are evaluated from left to right.
+ - :AND: :OR: :EOR:
+ - & |
= > >= < <= /= <>
== > >= < <= !=
:
LAND: :LOR: :LEOR:
&& ||
Table 3-3 Operator precedence in C
C precedence
unary operators
* / %
+ -
(as binary operators)
<< >>
< <= > >=
== !=
&
^
|
&&
||
Table 3-2 Operator precedence in armasm
armasm precedence
equivalent C operators