Architecture

LB

Load Byte

LB

 

31

26 25

21 20

16 15

0

 

 

LB

 

 

base

 

rt

 

offset

 

 

 

 

 

 

 

 

 

 

100000

 

 

 

 

 

 

 

 

 

6

 

 

5

 

5

 

16

 

Format :

LB 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 sign-extends the byte at the memory location pointed to by the effective address and loads the result into general-purpose register rt.

Operation :

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

(pAddr, uncached) AddressTranslation (vAddr, DATA) pAddr pAddr31..2 (pAddr1..0 xor ReverseEndian2)

mem LoadMemory (uncached, BYTE, pAddr, vAddr, DATA) byte vAddr1..0 xor BigEndianCPU2

GPR[rt] (mem7+8*byte)24 mem7+8byte..8*byte

Exceptions :

UTLB Refill exception (reserved)

TLB Refill exception (reserved)

Address Error exception

145

Page 156
Image 156
Toshiba TX39 user manual LB rt, offsetbase