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 file specified on the tiarmclang command line with a .s or .S file extnesions are assumed to be GNU-syntax Arm assembly source files by default. See Integrated GNU-Syntax Arm Assembler for more details 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 details about the stadnalone TI-syntax assembler. The tiarmasm assembler can also be invoked from the tiarmclang command-line using the -x ti-asm (see Invoking the TI-Syntax Arm Assembler from tiarmclang for more 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.