Section 3: Assembler
187
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
.include — Include Assembler Source File
Syntax
.include "
filename"
Description
filename
The name of an assembler source file (including an optional
absolute or relative path).
The .include directive inserts the contents of the specified file at the current
position in the assembler source. If the file is not specified with a full path, it is
searched for in (or, relative to) the following directories in the indicated order:
1. The current directory.
2. Directories specified with the
-I
flag.
3. Directories specified with the environment variables INCLUDE68 or SIERRA
(see section 3.2.4 Environment Variables).
This directive can be nested, i.e., included files can themselves include files. The
assembler imposes no limit on the level of nesting.
Examples
.include "table.inc"
.include "../include/vector.h"