112
RSP Assembly Language
expression to a temporary identifier using the
.symbol
directive,
then use this temporary identifier
by itself
to initialize a data
directive.
Throughout this document, expressions that cannot contain identifiers are
referred to as
iexpressions
(integer expressions).
Registers
The syntax for referring to the scalar unit (SU) registers is a dollar sign (
$
),
followed by an integer in the range of
0...31
. No whitespace between the
dollar sign and the integer is permitted.
The syntax for referring to the vector unit (VU) registers is a dollar sign (
$
),
followed by a ‘
v
’, followed by an integer in the range of
0...31
. No
whitespace between the dollar sign, the ‘v’, and the integer is permitted.
The syntax for referring to the coprocessor 0 control registers is a dollar sign
(
$
), followed by a ‘
c
’, followed by an integer in the range of
0...31
. No
whitespace between the dollar sign, the ‘c’, and the integer is permitted.
Registers can be named using the
.name
directive, associating an identifier
with a scalar register, vector register, or control register.
The following special built-in register names are also available:
•
$sp
is scalar register
$29
•
$at
is scalar register
$1
•
$ra
is scalar register
$31
•
$s8
is scalar register
$30
•
$vco
is the vector control register
VCO
•
$vcc
is the vector control register
VCC
•
$vce
is the vector control register
VCE
Summary of Contents for Ultra64
Page 2: ...2 ...
Page 10: ...10 ...
Page 12: ...12 Figure 6 2 buildtask Operation 137 ...
Page 14: ...14 ...
Page 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Page 104: ...104 RSP Coprocessor 0 ...
Page 150: ...150 Advanced Information ...
Page 155: ...Revision 1 0 155 ...
Page 248: ...248 Exceptions None ...
Page 251: ...Revision 1 0 251 Exceptions None ...
Page 254: ...254 Exceptions None ...
Page 257: ...Revision 1 0 257 Exceptions None ...
Page 293: ...Revision 1 0 293 Exceptions None ...
Page 316: ...316 Exceptions None ...