You copied the Doc URL to your clipboard.

Arm Compiler Migration and Compatibility Guide : Operators


armasm syntax assembly and GNU syntax assembly provide different methods for specifying some operators.

The following table shows how to translate armasm syntax operators to GNU syntax operators.

Table 5-2 Operator translation

armasm syntax operator GNU syntax operator
:OR: |
:EOR: ^
:AND: &
:NOT: ~
:SHL: <<
:SHR: >>
:LOR: ||
:LAND: &&
:ROL: No GNU equivalent
:ROR: No GNU equivalent