SPRU513Z August 2001 – October 2023 SM320F28335-EP
Initialized sections contain executable code or initialized data. The contents of these sections are stored in the object file and placed in TMS320C28x memory when the program is loaded. Each initialized section is independently relocatable and may reference symbols that are defined in other sections. The linker automatically resolves these references. The following directives tell the assembler to place code or data into a section. The syntaxes for these directives are:
.text | |
.data | |
.sect "section name" |
The .sect directive can also be used to create initialized subsections. See Section 2.4.6, for more information on creating subsections.