5.14 Instruction set directives

Instruction set directives instruct the assembler to interpret subsequent instructions as either A32 or T32 instructions.

The following table shows how to translate armasm syntax instruction set directives to GNU syntax directives:

Table 5-4 Instruction set directives translation

armasm syntax directive GNU syntax directive Description
ARM or CODE32 .arm or .code 32 Interpret subsequent instructions as A32 instructions.
THUMB or CODE16 .thumb or .code 16 Interpret subsequent instructions as T32 instructions.
Non-ConfidentialPDF file icon PDF versionDUI0742J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.