Specifications

Saturn Syntax of Assembler Statements3-5
Psy-Q Development System
Special Constants
The following pre-defined constants are available in the Assemblers.
_year As a two digit number, e.g. 95
_month 1 = January; 12 = December
_day 1 = 1st day of month
_weekday 0 = Sunday; 6 = Saturday
_hours 00 - 23
_minutes 00 - 59
_seconds 00 - 59
* Contains the current value of the Location Counter.
@ Contains the actual PC value at which the current value will be
stored - see below.
narg Contains the number of parameters in the current macro argument -
see chapter 5 for further details.
__rs Contains the current value of RS Counter - see chapter 4 for
further details.
_filename A pre-defined string containing the name of the primary file
undergoing assembly.
Remarks Time and Date Constants:
Time and Date constants are set to the start of assembly; they are not updated during
the assembly process.
Example RunTime dc.b "\#_hours:\#_minutes:&
\#_seconds"
this expands to the form hh:mm:ss, as follows
RunTime dc.b "21:08:49"
Note This example uses the special macro parameter, \#, which is described in chapter 5.