Predefined Symbolic Constants

The assembler has several types of predefined symbols.

$, the dollar-sign character, represents the current value of the section program counter (SPC).

In addition, the following predefined processor symbolic constants are available:

Table 4-2 C6000 Processor Symbolic Constants

Symbol name Description
_ _TI_EABI_ _ Set to 1 if EABI is enabled. EABI is now the only supported ABI; see Section 4.4.
.TMS320C6X Always set to 1
.TMS320C6400_PLUS Set to 1 if target is C6400+, C6740, or C6600; otherwise 0
.TMS320C6600 Set to 1 if target is C6600, otherwise 0
.TMS320C6740 Set to 1 if target is C6740 or C6600, otherwise 0
.LITTLE_ENDIAN Set to 1 if little-endian mode is selected (the -me assembler option is not used); otherwise 0
.ASSEMBLER_VERSION Set to major * 1000000 + minor * 1000 + patch version.
.BIG_ENDIAN Set to 1 if big-endian mode is selected (the -me assembler option is used); otherwise 0
.SMALL_MODEL Set to 1 if --memory_model:code=near and --memory_model:data=near, otherwise 0.
.LARGE_MODEL Set to 1 if .SMALL_MODEL is 0, otherwise 0.