NEC uPD98502 User Manual page 514

Network controller
Table of Contents

Advertisement

LW
31
26 25
LW
1 0 0 0 1 1
6
Format:
LW rt, offset (base)
Description:
The 16-bit offset is sign-extended and added to the contents of general register base to form a virtual address.
The contents of the word at the memory location specified by the effective address are loaded into general register
rt . In 64-bit mode, the loaded word is sign-extended.
If either of the two least-significant bits of the effective address is non-zero, an address error exception occurs.
Operation:
vAddr ← ((offset
32
T:
(pAddr, uncached) ← AddressTranslation (vAddr, DATA)
pAddr ← pAddr
mem ← LoadMemory (uncached, WORD, pAddr, vAddr, DATA)
byte ← vAddr
GPR [rt] ← mem
vAddr ← ((offset
64
T:
(pAddr, uncached) ← AddressTranslation (vAddr, DATA)
pAddr ← pAddr
mem ← LoadMemory (uncached, WORD, pAddr, vAddr, DATA)
byte ← vAddr
GPR [rt] ← (mem
Exceptions:
TLB refill exception
TLB invalid exception
Bus error exception
Address error exception
514
APPENDIX A MIPS III INSTRUCTION SET DETAILS
Load Word
21 20
base
rt
5
5
16
)
|| offset
) + GPR [base]
15
15...0
|| (pAddr
xor (ReverseEndian || 0
PSIZE - 1...3
2...0
xor (BigEndianCPU || 0
2...0
31 + 8 * byte...8 * byte
48
)
|| offset
) + GPR [base]
15
15...0
|| (pAddr
xor (ReverseEndian || 0
PSIZE - 1...3
2...0
xor (BigEndianCPU || 0
2...0
32
)
|| mem
31 + 8 * byte
31 + 8 * byte...8 * byte
Preliminary User's Manual S15543EJ1V0UM
16 15
2
))
2
)
2
))
2
)
LW
offset
16
0

Advertisement

Table of Contents
loading

Table of Contents