Specifications

Saturn General Assembler Directives 4-5
Psy-Q Development System
EQUS
Description Assigns a text or string variable to a symbol.
Syntax symbol name EQUS "text"
symbol name EQUS 'text'
symbol name EQUS symbol name
See Also EQU, SET
Remarks
Textual operands are delimited by double or single quotes. If it is required to
include a double quote in the text string, delimit with single quotes or two double
quotes; similarly, to include a single quote in the text, delimit with double quotes
or two single quotes - see examples below.
If delimiters are omitted, the Assembler assumes the operand to be the symbol
name of a previously defined string variable, the value of which is assigned to the
new symbol name.
Point brackets, { and }, are special delimiters used in Macros - see MACRO
directive specification, chapter 5.
Symbols equated with the EQUS directive can appear at any point in the code,
including as part of another text string. If there is the possibility of confusion with
the surrounding text, a backslash (\) may be used before the symbol name, and, if
necessary, after it, to ensure the expression is expanded correctly - see examples
below.
Examples Program equs "Psy-Q v 1.2"
Qtex equs "What's the score?"
dc.b "Remember to assemble &
\_filename",0