Specifications

Saturn General Assembler Directives 4-27
Psy-Q Development System
Note
2
The nominated file may be accessed selectively, by specifying a position in the file,
from which to start reading, and a length. Note that:
if start is omitted, the INCBIN commences at the beginning of the file;
if the length is omitted, the INCBIN continues to the end of the file;
if both start and length are omitted, the entire file is INCBINed.
REF
Description REF is a special operator, to allow the programmer to determine which segments of
code are to be INCLUDEd.
Syntax [~]REF(symbol)
The optional preceding tilde (~) is synonymous with NOT.
Remarks REF is true if a reference has previously been encountered for the symbol in the
brackets.
Examples if ref(Links)
Links move.w d0,-2(a0)
...
rts
endif
The Links routine will be assembled if a reference to it has already been encountered.