beautypg.com

19 include — include text from another file, Include — include text from another file, Calling macros – Motorola HC12 User Manual

Page 185

background image

Assembler Directives

INCLUDE — Include Text from Another File

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Directives

185

8.19 INCLUDE — Include Text from Another File

Syntax:

INCLUDE

Description:

This directive causes the included file to be inserted in the
source input stream. The is not case
sensitive and must be enclosed in quotation marks.

The assembler attempts to open relative to the
current working directory. If the file is not found, then it is
searched for in each path specified in the environment variable
GENPATH.

Example:

INCLUDE "..\LIBRARY\macros.inc"