4. GNU-Syntax Arm Assembly Directives¶
All assembler directives have names that begin with a period (.). The rest of the name is made up of letters (and occasionally numbers), almost always in lower case. A description of the GNU-syntax for Arm assembly, including use of directives, is provide in the GNU-Syntax Arm Assembly Source Anatomy section.
This section provides a description of each of the directives available on Arm processor variants supported by the tiarmclang toolchain (this includes Cortex-M0, Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M33, Cortex-R4, and Cortex-R5).
A full, alphabetic list of the available directives is provided in List of GNU-Syntax Arm Assembly Directives. Detailed descriptions of each directive are provided in the sections that follow, which organize directives by functional category.
GNU-syntax directives that are available only for Arm targets are indicated as “Arm only”.
Contents:
- 4.1. List of GNU-Syntax Arm Assembly Directives
- 4.2. Directives that Change the Instruction Type
- 4.3. Directives that Perform Alignment and Create Space
- 4.4. Directives that Initialize Values and Strings
- 4.5. Directives for Conditional Assembly and Control Flow
- 4.6. Directives that Control Section Use
- 4.7. Directives that Affect Symbols
- 4.8. Directives that Include Other Assembly Source Files
- 4.9. Directives that Can Aid Debugging
- 4.10. Directives that Encode Metadata
- 4.11. Directives that Affect Macros