You copied the Doc URL to your clipboard.


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

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

Table 5-2 Operator translation

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