SPNU118Z September 1995 – March 2023 66AK2E05 , 66AK2H06 , 66AK2H12 , 66AK2H14 , AM1705 , AM1707 , AM1802 , AM1806 , AM1808 , AM1810 , AM5K2E04 , OMAP-L132 , OMAP-L137 , OMAP-L138 , SM470R1B1M-HT , TMS470R1A288 , TMS470R1A384 , TMS470R1A64 , TMS470R1B1M , TMS470R1B512 , TMS470R1B768
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:
Macro Name | Description |
---|---|
.TI_ARM | Always set to 1 |
.TI_ARM_16BIS | Set to 1 if the default state is 16 bit Thumb mode (the --code_state=16 option is used for an ARMv6 or prior architecture); otherwise, set to 0. |
.TI_ARM_32BIS | Set to 1 if the default state is 32 bit (the --code_state=16 option is not used or the --code_state=32 option is used); otherwise, set to 0. |
.TI_ARM_T2IS | Set to 1 if the default state is Thumb-2 mode (the --code_state=16 option is used for an ARMv7 or higher architecture); otherwise set to 0. |
.TI_ARM_LITTLE | Set to 1 if little-endian mode is selected (the --endian assembler option is used); otherwise, set to 0. |
.TI_ARM_BIG | Set to 1 if big-endian mode is selected (the --endian assembler option is not used); otherwise, set to 0. |
_ _TI_ARM7ABI_ASSEMBLER | Set to 1 if the TI ARM7 ABI is enabled (the --abi=tiabi option is used); otherwise, it is set to 0. (This option is deprecated.) |
_ _TI_ARM9ABI_ASSEMBLER | Set to 1 if the TI ARM9 ABI is enabled (the --abi=ti_arm9_abi option is used); otherwise, it is set to 0. (This option is deprecated.) |
_ _TI_EABI_ASSEMBLER | Set to 1 if the EABI ABI is enabled. EABI is now the only supported ABI; see Section 4.4. |
_ _TI_NEON_SUPPORT_ _ | Set to 1 if NEON SIMD extension is targeted (the --neon option is used); otherwise, it is set to 0. |
_ _TI_ARM_V4_ _ | Set to 1 if the v4 architecture (ARM7) is targeted (the -mv4 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V5E_ _ | Set to 1 if the v5E architecture (ARM9E) is targeted (the -mv5e option is used); otherwise, it is set to 0. |
_ _TI_ARM_V6_ _ | Set to 1 if the v6 architecture (ARM11) is targeted (the -mv6 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V6M0_ _ | Set to 1 if the v6M0 architecture (Cortex-M0) is targeted (the -mv6M0 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V7_ _ | Set to 1 if any v7 architecture (Cortex) is targeted; otherwise, it is set to 0. |
_ _TI_ARM_V7A8_ _ | Set to 1 if the v7A8 architecture (Cortex-A8) is targeted (the -mv7A8 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V7M3_ _ | Set to 1 if the v7M3 architecture (Cortex-M3) is targeted (the -mv7M3 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V7M4_ _ | Set to 1 if the v7M4 architecture (Cortex-M4) is targeted (the -mv7M4 option is used); otherwise, it is set to 0. |
_ _TI_ARM_V7R4_ _ | Set to 1 if the v7R4 architecture (Cortex-R4) is targeted (the -mv7R4 option is used); otherwise, it is set to 0. |
_ _TI_VFP_SUPPORT_ _ | Set to 1 if the VFP coprocessor is enabled (any --float_support option is used); otherwise, it is set to 0. |
_ _TI_VFPV3_SUPPORT_ _ | Set to 1 if the VFP coprocessor is enabled (the --float_support=vfpv3 option is used); otherwise, it is set to 0. |
_ _TI_VFPV3D16_SUPPORT_ _ | Set to 1 if the VFP coprocessor is enabled (the --float_support=vfpv3d16 option is used); otherwise, it is set to 0. |
_ _TI_FPV4SPD16_SUPPORT_ _ | Set to 1 if the FP coprocessor is enabled (the --float_support=fpv4spd16 option is used); otherwise, it is set to 0. |