Specifications

Saturn Structuring the Program 8-7
Psy-Q Development System
SECT and OFFSET
Description The SECT function returns the address of the section in which the symbol in the
brackets is defined. The OFFSET function returns the offset value from the
beginning of the section.
Syntax SECT (expression)
OFFSET (expression)
Remarks
If a link is being performed, the SECT function is evaluated when it is linked; if
there is no link, it will be evaluated when the second pass has finished.
Likewise, if a link is being performed, the OFFSET function is evaluated when it
is linked; however, if there is no link, the OFFSET will be evaluated during the
first pass.
Examples dc.w sect(Table1)
dc.w sect(Table2)
dc.w offset(*)