Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Operator synonyms

In this section:

A number of operators used by other assemblers will be translated by the assembler when the option -j is specified. The following operator synonyms are allowed in both Arm and Thumb modes:

Operator synonym

Assembler operator

:AND:

&

:EOR:

^

:LAND:

&&

:LEOR:

XOR

:LNOT:

!

:LOR:

||

:MOD:

%

:NOT:

~

:OR:

|

:SHL:

<<

:SHR:

>>

Table 168. Operator synonyms 


Note

In some cases, assembler operators and operator synonyms have different precedence levels. For further descriptions of the operators, see Assembler operators.