EasyManuals Logo

Texas Instruments TI-89 Software Guide

Texas Instruments TI-89
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #236 background imageLoading...
Page #236 background image
224
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.def / DEF — Begin Symbol Attribute Block
Syntax
.def
symbol
DEF
symbol
Description
symbol
Specifies a symbol that is defined in the current assembler source
file.
The
.def / DEF
directive begins an attribute block for the symbol
symbol
. The
DIM
,
LINE
,
SCL
,
SIZE
,
TAG
,
TYPE
, and
VAL
(
.dim
,
.line
,
.scl
,
.size
,
.tag
,
.type
, and
.val
) directives are used to set the various attributes of a symbol (see
section
1.4 Object File Format
). The
.endef / ENDEF
directive must be used to
end an attribute block. For convenience, the directives that comprise a symbol
attribute block can be specified on a single line as a semicolon-separated list.
The information contained in an attribute block is stored in the object file’s symbol
table for purposes of symbolic debugging. The Sierra C compiler automatically
generates attribute blocks for all symbols when the
-q
command line flag is
specified. They can be written manually when performing assembler source-level
debugging, but this is not recommended. Adequate debugging information can
be generated with the
-L
assembler command line flag, which directs the
assembler to generate line number information, and the
.type / TYPE
directive,
which can be used to specify symbol types directly (i.e., without a symbol
attribute block).
Examples
DEF init
VAL init
SCL 2
TYPE $24
ENDEF
DEF tbl ; VAL 12 ; SCL 3 ; TYPE 4 ; ENDEF

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals