Bnf Specification Of The Rsp Assembly Language - Nintendo Ultra64 Programmer's Manual

Rsp
Table of Contents

Advertisement

BNF Specification of the RSP Assembly Language

Revision 1.0
This section presents a formal specification of the RSP assembly language
using a Backus-Naur Form (BNF). Comments are not shown because they
are removed by the parser during token scanning.
<program>
<instruction> | <program> <instruction>
<instruction>
<directive> |
<label> <directive> |
<label> <label> <directive> |
<scalarInstruction> |
<label> <scalarInstruction> |
<vectorInstruction> |
<label> <vectorInstruction>
 .align
<directive>
<iexpression> |
.bound
<iexpression> |
.byte
|
.data
<iexpression>
.data
<iexpression>
.dmax
|
.end
<identifier> |
.end
<identifier> |
.ent
<identifier> , <integer> |
.ent
<identifier> |
.half
<iexpression> |
.half
<identifier>
.name
<identifier>
.name
<identifier>
.name
<qstring> |
.print
<qstring>
.print
BNF Specification of the RSP Assembly Language
<iexpression> |
<scalarRegister> |
,
<vectorRegister> |
,
<controlRegister> |
,
<expression> |
,
119

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents