5.10 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
Non-ConfidentialPDF file icon PDF version100068_0609_00_en
Copyright © 2014–2017 Arm Limited (or its affiliates). All rights reserved.