SPRU513Z August 2001 – October 2023 SM320F28335-EP
The assembler has several types of predefined symbols.
$, the dollar-sign character, represents the current value of the section program counter (SPC). $ is a relocatable symbol if you are using COFF.
In addition, the following predefined processor symbolic constants are available:
Symbol name | Description |
---|---|
__TI_EABI__ | Set to 1 if EABI is enabled. Otherwise, COFF is used. |
.TMS320C2000 | Always set to 1 |
.TMS320C2800 | Set to 1 for C28x |
.TMS320C2800_CLA0 | Set to 1 if --cla_support=cla0 or greater is used. |
.TMS320C2800_CLA1 | Set to 1 if --cla_support=cla1 or greater is used. |
.TMS320C2800_CLA2 | Set to 1 if --cla_support=cla2 is used. |
.TMS320C2800_FPU32 | Set to 1 if --float_support=fpu32 is used, otherwise 0. |
.TMS320C2800_FPU64 | Set to 1 if --float_support=fpu64 is used, otherwise 0. |
.TMS320C2800_IDIV | Set to 1 if --idiv_support=idiv0 is used. |
.TMS320C2800_TMU0 | Set to 1 if --tmu_support=tmu0 or greater is used. |
.TMS320C2800_TMU1 | Set to 1 if --tmu_support=tmu1 or greater is used. |
.TMS320C2800_VCU0 | Set to 1 if --vcu_support=vcu0 or greater is used. |
.TMS320C2800_VCU2 | Set to 1 if --vcu_support=vcu2 or greater is used. |
.TMS320C2800_VCRC | Set to 1 if --vcu_support=vcrc is used. |