Texas Instruments TI-89 Software Manual page 217

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

Advertisement

Section 3: Assembler
.type — Set Type Attribute
Syntax
.type type
Description
type
The .type directive sets the type attribute of the symbol referenced by the current
attribute block (see .def directive). For a discussion of fundamental and derived
types, see section 1.4.8.7 Type Entry. This directive can appear at most once
per symbol attribute block.
The .type directive can also be used in conjunction with the -L command line
flag to provide type information for symbols. When the -L command line flag is
used, this directive does not have to appear within a symbol attribute block; the
type it specifies is associated with the most recently defined label. Function types
can only be attributed to labels defined in text-type sections.
Example
x:
.type 0x24
TI-89 / TI-92 Plus Sierra C Assembler Reference Manual
Specifies the type of the current symbol. It is an absolute
expression that cannot contain any forward, external, or undefined
references.
; x is a function that returns an int
Not for Distribution
205
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