200
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.size — Set Size Attribute
Syntax
.size
size
Description
size
Specifies the size of the current symbol. It is an absolute
expression that cannot contain any forward, external, or undefined
references.
The .size directive sets the size attribute of the symbol referenced by the current
attribute block (see .def directive). The size attribute is specified for aggregate
types (see section 1.4.9 Auxiliary Table Entries). This directive can appear at
most once per symbol attribute block.
The .size 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 directive).
Example
.def buf
.val buf
.dim 16,4
.scl 2
.type 0xf4
.line 25
.size 256
; buf is an array 256 bytes long
.endef