Operators; Comments - Nintendo Ultra64 Programmer's Manual

Rsp
Table of Contents

Advertisement

RSP Assembly Language
108
Hexadecimal constants, which consist of the characters 0x (or 0X)
followed by a sequence of hexadecimal digits
[0123456789abcdefABCDEF]*.
Octal constants, which consist of a leading zero followed by a
sequence of octal digits [01234567]*.
String constants, which consist of any sequence of alphanumeric
characters (except double quotes) enclosed in double quotes. String
constants are only used for the .print directive.

Operators

The following tokens comprise the list of operators:
Instruction mnemonics, a sequence of
characters that correspond to the opcodes listed in Appendix A,
"RSP Instruction Set Details."
Directive mnemonics, a sequence of
characters that correspond to the list in"Assembly Directives" on
page 114.
Expression operators: +, -, *, /, %, ~, ^, &, |, <<, >>
Other character sequences that make up the instruction syntax,
such as square brackets '[]', parentheses ()', the colon ':', the comma
',', and the period '.'.

Comments

The assembler accepts three forms of comments:
C-like comments, /*...*/. Anything between the beginning and
ending C comment sequence is ignored. (Note: if
assembly,
cpp
can parse them)
# comments. Anything from the '#' to the end of the line is ignored.
(Note: comments with the '#' in column one will confuse the C
pre-processor,
assembly)
lowercase
will remove these comments before the assembler
cpp
, if it is invoked on the source code before
lowercase
alphanumeric
alphabetic
cpp
is used before

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents