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 #237 background imageLoading...
Page #237 background image
Section 3: Assembler
225
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.dim / DIM — Set Array Dimension Attribute
Syntax
.dim
dim
[,
dim
[,
dim
[,
dim
]]]
DIM
dim
[,
dim
[,
dim
[,
dim
]]]
Description
dim
Specifies an array dimension of the current symbol. It is an
absolute expression that cannot contain any forward, external, or
undefined references. Up to four dimensions can be specified.
The
.dim / DIM
directive sets the dimension attribute of the symbol referenced by
the current attribute block (see
.def / DEF
directive). The dimension attribute is
specified for array types (see sections
1.4.8.7 Type Entry
and
1.4.9.6 Arrays
).
This directive can appear at most once per symbol attribute block.
The
.dim / DIM
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 buf
VAL buf
DIM 16,4 ; buf is a two-dim array, int buf[16][4]
SCL 2
TYPE $F4
LINE 25
SIZE 256
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