Keil Logo

INCDIR Assembler Directive

Abbreviation

ID

Arguments

One or more path names enclosed in parentheses.

Default

None.

µVision

Options — A166 — Include Paths.

Description

The INCDIR directive specifies the location of include files specified with the INCLUDE directive. Multiple path specifications must be separated by semicolon (';') characters. A maximum of 512 paths may be specified.

When the assembler processes an INCLUDE directive, the current path is searched for the include file first. If the file is not found, the assembler then searches the default assembler include folder (\KEIL\C166\A166). If the file is still not found, the assembler finally searches the paths specified by the INCDIR directive. The order in which paths are searched is the order in which the paths are specified with the INCDIR directive.

See Also

INCLUDE

Example
A166 SAMPLE.ASM INCDIR(C:\PRJ\MYINC;C:\PRJ\INC)

$INCDIR (C:\PRJ\INC)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.