Specifications
Saturn General Assembler Directives 4-7
Psy-Q Development System
EQUR
Description Defines a symbol as an alternative for a data register or an address register.
Syntax symbol name EQURregister name
See Also REG
Remarks
• The major use of the EQUR directive is to improve the overall readability of the
source code.
• In order that the Assembler can evaluate the expression correctly, dots are not
allowed as part of the symbol name of a EQUR (see example below).
Examples cmp.b RGBinds(a2,d1.w),d0
This could be re-written using EQUR's, as follows:
Red equr a2
Green equr d1
Blue equr d0
...
cmp.b RGBinds(Red,Green.w),Blue
Since dots are not allowed in EQUR names, the Assembler can correctly interpret
Green.w as the low word of (d1).