Asm68 Section Directives - Texas Instruments TI-89 Software Manual

Sierra c assembler
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

164
The mnemonics for the asm68 assembler directives, like those for instructions,
are written in either all uppercase or all lowercase characters. As stated earlier,
the mnemonics for asm68 are shown in lowercase characters only to
differentiate them from those for asm68k, which are shown in uppercase
characters.
3.6.1.

Asm68 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.17 summarizes the section directives for
asm68. 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
.bsection
.bss
.data
.dsection
.ends
.org
.reorg
.section
.struct
.text
.tsection
TI-89 / TI-92 Plus Sierra C Assembler Reference Manual
Function
Begin/resume a given BSS-type section
Begin/resume the BSS-type section .bss
Begin/resume the data-type section .data
Begin/resume a given data-type section
End a structure template section
Begin an unnamed, absolute, data-type section
Reset the location counter in an absolute section
Begin/resume a given data-type section
Begin a structure template section
Begin/resume the text-type section .text
Begin/resume a given text-type section
Table 3.17: Section Directives
Not for Distribution
Section 3: Assembler
Beta Version February 2, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-89 plusTi-92 plus

Table of Contents