5.1. About the tiarmclang Arm Assemblers¶
The tiarmclang compiler tools provide two different Arm assemblers:
The tiarmclang integrated GNU-syntax assembler can be used to assemble assembly source code written in GNU-syntax. Input files specified on the tiarmclang command line with a .s or .S file extension are assumed to be GNU-syntax Arm assembly source files by default. See Integrated GNU-Syntax Arm Assembler and GNU-Syntax Arm Assembly Language Reference Guide for more about the integrated GNU-syntax assembler.
The tiarmasm standalone TI-syntax assembler can be used to assemble assembly source code written in TI-syntax. See TI-Syntax Arm Assembler for more about the standalone TI-syntax assembler. The tiarmasm assembler can also be invoked from the tiarmclang command-line using the -x ti-asm option. See Invoking the TI-Syntax Arm Assembler from tiarmclang for details.
Note
Assembly source code that is embedded in C/C++ source files via asm() statements will be processed inline by the tiarmclang’s integrated GNU-syntax assembler.