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