Toshiba TX39 user manual LW rt, offsetbase

Models: TX39

1 246
Download 246 pages 24.89 Kb
Page 161
Image 161

Architecture

LW

Load Word

LW

 

31

26 25

21 20

16 15

0

 

 

 

LW

 

base

 

rt

 

offset

 

 

 

 

 

 

 

 

 

 

100011

 

 

 

 

 

 

 

 

 

6

 

5

 

5

 

16

 

Format :

LW rt, offset(base)

Description :

Generates a 32-bit effective address by sign-extending the 16-bit offset and adding it to the contents of general-purpose register base. It then loads the word at the memory location pointed to by the effective address into general-purpose register rt.

If the effective address is not aligned on a word boundary, i.e., if the low-order 2 bits of the effective address are not 00, an Address Error exception is raised.

Operation :

T:vAddr ((offset15)16 offset15..0) + GPR[base]

(pAddr, uncached) AddressTranslation (vAddr, DATA)

mem LoadMemory (uncached, WORD, pAddr, vAddr, DATA) GPR[rt] mem

Exceptions :

UTLB Refill exception (reserved)

TLB Refill exception (reserved)

Address Error exception

150

Page 161
Image 161
Toshiba TX39 user manual LW rt, offsetbase