Texas Instruments TI-89 Software Manual page 256

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

Advertisement

244
.lcomm / LCOMM — Define an lcomm Symbol
Syntax
.lcomm symbol , count [, align ]
LCOMM[.S] symbol , count [, align ]
Description
symbol
count
align
The LCOMM directive defines the specified symbol symbol and associates with it
a block of uninitialized data in the BSS-type section .bss. The number of bytes in
this block is specified by count . The alignment of the block is specified by align ; if
omitted or if the -c flag has been specified, quad alignment is used.
The scope of the symbol symbol is static. The block of data is allocated during
assembly. For more information, refer to section 3.3.5.4 Comm and Lcomm
Symbols).
The .S qualifier is used to indicate that the symbol can be referenced with the
absolute short addressing mode (i.e., the symbol will reside in the top or bottom
32K of memory).
Examples
LCOMM table,4096
LCOMM strings,256,4
TI-89 / TI-92 Plus Sierra C Assembler Reference Manual
Specifies a symbol that is not defined elsewhere in the current file.
Specifies the number of bytes associated with the symbol. It is an
absolute expression that cannot contain any forward, external, or
undefined references.
Specifies the alignment requirements for the symbol. Its value can
be 1, 2, or 4. It is an absolute expression that cannot contain any
forward, external, or undefined references.
Not for Distribution
Section 3: Assembler
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