264
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.tag / TAG — Set Tag Name Attribute
Syntax
.tag
symbol
TAG
symbol
Description
symbol
Specifies the tag name with which the current symbol is
associated. It is a symbol that is defined as a structure, union, or
enumeration type.
The
.tag / TAG
directive sets the tag name attribute of the symbol referenced by
the current attribute block (see
.def / DEF
directive). For a detailed description of
the tag name attribute, see section
1.4.9 Auxiliary Table Entries
. This directive
can appear at most once per symbol attribute block.
The
.tag / TAG
directive is typically used only for C source-level debugging; it is
ignored when assembler source-level debugging information is generated with
the
-L
command line flag (see also
.type / TYPE
directive).
Example
DEF x
VAL x
SCL 2
TYPE 8
SIZE 4
TAG s ; s is the tag of the structure
ENDEF ; of which x is a member
.text — Begin / Resume the Text-type Section .text
Syntax
.text
Description
The
.text
directive begins or resumes the text-type section
.text
. It is functionally
equivalent to
.tsection .text
.
The section
.text
contains read-only data. It is present in all object files,
regardless of whether it is specified. For more information, see section
3.3.4.1 Section Types
.