210
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
3.7.1.
Asm68k Section Directives
Section directives can be used to manage both absolute and relocatable sections
with any of the following types: text-type, data-type, or BSS-type. Text-type
sections contain read-only data. Data-type sections contain initialized read/write
data. BSS-type sections contain uninitialized read/write data. Section directives
remain in effect until another section directive is issued.
Section directives can also be used to create structure template sections; these
are special dummy sections that allow the convenient definition of labels suitable
for structure field references. Table 3.24 summarizes the section directives for
asm68k. For more information, see section 3.3.4 Sections. See chapter
7. Flash Application Layout in the TI-89 / TI-92 Plus Developer Guide for
information on the use and initialization of the TI-89 / TI-92 Plus sections.
Directive
Function
.bsection
Begin/resume a given BSS-type section
.bss
Begin/resume the BSS-type section .bss
.data
Begin/resume the data-type section .data
.dsection
Begin/resume a given data-type section
.text
Begin/resume the text-type section .text
.tsection
Begin/resume a given text-type section
BSECTION
Begin/resume a given BSS-type section
DSECTION
Begin/resume a given data-type section
OFFSET
Begin a structure template section
ORG
Begin an unnamed, absolute, data-type section
REORG
Reset the location counter in an absolute section
SECTION
Begin/resume a given data-type section
TSECTION
Begin/resume a given text-type section
Table 3.24: Section Directives