Nintendo Ultra64 Programmer's Manual page 184

Rsp
Table of Contents

Advertisement

LHU
31
LHU
1 0 0 1 0 1
Format:
lhu rt, offset(base)
Description:
The 16-bit
DMEM address. The contents of the halfword at the DMEM location specified by the effective
address are zero-extended and loaded into general register
Since DMEM is only 4K bytes, only the lower 12 bits of the effective address are used.
Operation:
T:
Addr ((offset
GPR[rt]
Exceptions:
None
184
Load Halfword Unsigned
26
25
21
base
6
5
offset
is sign-extended and added to the contents of general register
16
)
|| offset
15
 (0
16
|| dmem[Addr
31...0
20
16
15
rt
5
) + GPR[base]
15...0
]
)
11...0
15..0
LHU
offset
16
base
rt
.
0
to form a

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents