You copied the Doc URL to your clipboard.

Arm Compiler Migration and Compatibility Guide : Instruction set directives

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.