262
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.space — Allocate a Block of Uninitialized Memory
Syntax
.space[
.size] count
Description
size
Specifies the unit size. The legal sizes are shown below; the
default is
b
.
b
Byte Integer (1 byte)
w
Word Integer (2 bytes)
l
Long-word Integer (4 bytes)
s
Single-precision Real (not supported)
d
Double-precision Real (not supported)
x
Extended-precision Real (not supported)
p
Packed Decimal Real (not supported)
count
Specifies the unit count. It is an absolute expression that cannot
contain any forward, external, or undefined references.
The .space directive allocates a block of uninitialized memory whose size is
determined by the number and size of the unit location. Each location is filled
with the current fill value (see OPT FILLVAL), unless the section is of BSS-type.
Examples
.space 256
.space.l 64