Specifications
9-10 Programmer’s Guide Sega
Psy-Q Development System
GLOBAL
Description The GLOBAL directive allows a symbol to be defined which will be treated as either
an XDEF or an XREF. If a symbol is defined as GLOBAL and is later defined as a
label, it will be treated as an XDEF. If the symbol is never defined, it will be treated
as an XREF.
Syntax GLOBAL symbol[,symbol]
See Also XREF, XDEF, PUBLIC
Remarks This is useful in header files because it allows all separately assembled sub-programs
to share one header file, defining all global symbols. Any of these symbols later
defined in a sub-program will be XDEFed, the others will be treated as XREFs.