Byte; Data; Dmax - Nintendo Ultra64 Programmer's Manual

Rsp
Table of Contents

Advertisement

Revision 1.0

.byte

.byte iexpression
One byte of the data section is allocated and initialized to the value of the
iexpression
.
Since one byte is not sufficient to hold the address of any symbol in DMEM
identifier
or IMEM, an
This directive is only permitted in the data section.

.data

.data [expression]
Switch to the data section. All data initialization directives must be
contained in the data section.
expression
If the optional
address to continue packing the data section. Only the least significant 12
bits of the base address is used, since DMEM is only 4K bytes.
Multiple base addresses are permitted, any "holes" between initialized data
will remain un-initialized (all 0's). The assembler keeps track of the
maximum address initialized, and all data up to that point (including any
holes) will be output.

.dmax

.dmax
iexpression
This directive performs a check, printing out an error message and aborting
the program assembly if the current location within the text or data section
exceeds the value corresponding to the evaluated
This is useful during compilation to ensure that you do not exceed IMEM or
DMEM limits.
is not permitted.
is present, it is evaluated and used as the base
Assembly Directives
iexpression.
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents