CHAPTER 4: ASSEMBLER

4.7.1 Include Instruction (#include)

The include instruction inserts the contents of a file in any location of a source file. It is useful when the same source is shared in common among several source files.

Instruction format#include "<File name>"

A drive name or path name can as well be specified as the file name.

One or more spaces are necessary between the instruction and the "<File name>".

Character case is ignored for both #include itself and "<File name>".

Sample descriptions:

#include "sample.def"

#include "c:\EPSON\S1C63\header\common.h"

Expansion rule

The specified file is inserted in the location where #include was described.

Precautions

Only files created in text file format can be inserted.

The #include instruction can be used in the including files. However, nesting is limited up to 10 levels. If this limit is surpassed, an error will result.

64

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)