Specifications
Saturn General Assembler Directives 4-9
Psy-Q Development System
RS
Description Assigns the value of the __RS variable to the symbol, and advances the rs counter by
the number of bytes, words or long words, specified in count.
Syntax symbol name RS.size count
where .size is .b byte
.w word
.l long word
(if .size is not specified, .w is assumed)
See Also RSSET, RSRESET
Remarks
• This directive, together with the following two associated directives, operate on
or with the Assembler variable, __RS, which contains the current offset.
• When the Automatic Even assembler option (/AE) is in force, RS directives for
word and long word ensure that the __RS variable is aligned to the next word
boundary.
Examples rsreset
Icon_no rs.b 1
Dropcode rs.w 1
Actcode rs.w 1
Actname rs.b 10
Objpos rs.l 1
Artlen rs.b 0
After each of the first five RS equates, the __RS pointer is advanced; the values for
each equate are as follows: