5.17 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-7 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 version100068_0609_00_en
Copyright © 2014–2017 Arm Limited (or its affiliates). All rights reserved.