Syntax

Description

Include a file. The two forms differ in that (1) searches the current working directory first, and is functionally equivalent with the assembler INCLUDE directive. (2) does not search the current working directory unless explicitly specifying it with an "." entry in the include path. Both forms will search a built-in known place after any explicitly specified path, this is the location for the partdef.inc include files supplied with the assembler.

It is strongly discouraged to use absolute pathnames in #include directives, as this makes it difficult to move projects between different directories/computers. Use the -I to specify the include path, or set ut up in Atmel Studio - Project - Assembler Options.

Examples

#include <m48def.inc>
#include "mydefs.inc"