4.9.31 Include Directive

The INCLUDE "filename" directive causes the specified file to be textually replace this directive. For example:

INCLUDE "options.inc"

The assembler driver does not pass any search paths to the assembler, so if the include file is not located in the current working directory, the file's full path must be specified with the file name.

Assembly source files with a .S extension are preprocessed, thus allowing use of preprocessor directives, such as #include, which is an alternative to the INCLUDE directive.