Section 3: Assembler
237
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.global / .globl — Declare External a Defined Symbol
Syntax
.global
symbol [, symbol] . . .
.globl
symbol [, symbol] . . .
Description
symbol
Specifies a symbol that is defined in the current file. Section
names and floating-point symbols are not allowed.
The .global and .globl directives declare the scope of the symbol
symbol to be
external. This is necessary when the symbol is referenced in other source files
since the default symbol scope is static. This directive is a synonym for the XDEF
directive.
Example
.global main,jmp_tbl
.globl procl,eval
IDNT — Set Name of Source File
Syntax
filename IDNT
Description
filename
Specifies the name of the assembler source file. It can be up to 14
characters in length and must appear in the label field of the
statement.
The IDNT directive sets the name of the source file for purposes of source-level
debugging. This directive can appear at most once per source file and is
generated internally by the assembler if omitted. For more information, refer to
the discussion of the .file symbol in section 1.4.7.1 Special Symbols.
Example
demo.s IDNT