LB32 000111 |
rt |
base |
offset |
6 |
5 |
5 |
16 |
LB rt, offset(base) |
microMIPS |
Load Byte |
Load Byte
To load a byte from memory as a signed value.
GPR[rt] = memory[GPR[base] + offset]
The contents of the 8-bit byte at the memory location specified by the effective address are fetched, sign-extended, and placed in GPR rt. The 16-bit signed offset is added to the contents of GPR base to form the effective address.
None
vAddr = sign_extend(offset) + GPR[base] (pAddr, CCA) = AddressTranslation (vAddr, DATA, LOAD) pAddr = pAddrPSIZE-1..3 || (pAddr2..0 xor ReverseEndian3) memdoubleword = LoadMemory (CCA, BYTE, pAddr, vAddr, DATA) byte = vAddr2..0 xor BigEndianCPU3 GPR[rt] = sign_extend(memdoubleword7+8*byte..8*byte)
TLB Refill, TLB Invalid, Address Error, Watch