Specifications

Psy-Q Development System
Examples include "inp.obj"
include "sort.obj "
include "out.obj"
org 1024
regs pc=progstart
comdata group word
code group
bssdata group bss
section datal,comdata
section data2,comdata
section codel,code
section code2,code
section tables,bssdata
section buffers,bssdata
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
modules to share one header file, defining all global symbols. Any of these symbols
later defined in a module will be XDEFed, the others will be treated as XREFs.