ARM Technical Support Knowledge Articles

INCDIR DIRECTIVE

Applies to: A51 Macro Assembler

Answer


Information in this article applies to:


QUESTION

Is there an INCDIR directive for the assembler so I can specify where my include files reside?

ANSWER

Yes. This has been added in the V6 release of the C51 toolset.

With INCDIR (abbreviation ID) you can supply one or more paths to search for when a $INCLUDE (file) directive is processed. For example:

$INCDIR (C:C51ASM)
.
.
.
; Your Assembly Source File
.
.
.

or on the command line:

A51 STARTUP.A51 INCDIR (C:C51INC,C:MYDIR)

The search order for the $INCLUDE directive is:

Article last edited on: 2005-04-25 13:27:38

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential