Specifications
4-24 Programmer’s Guide Sega
Psy-Q Development System
INCLUDE
Description Informs the Assembler to draw in and process another source file, before resuming
the processing of the current file.
Syntax INCLUDE filename
where filename is the name of the source file to be processed, including drive and
path identifiers - see Note. The filename may be surrounded by quotes, but they will
be ignored.
See Also INCBIN
Remarks
Traditionally, there will be one main file of source code, which contains INCLUDE's
for all the other files.
INCLUDEd files can be nested.
The /j switch can be used to specify a search path for INCLUDEd files - see
Assembler Options, chapter 10.
Examples A typical start to a program may be:
section short1
codestart jmp entrypoint
dc.b _hours,_minutes
dc.b _day,_month
dc.w _year
include vars1.68k
section short2
include vars2.68k
section code
include graph1.68k
include graph2.68k