LDB(U)/LDH(U)/LDW
Load From Memory With a 15-Bit Constant Offset
3-72
Word and halfword addresses must be aligned on word (two LSBs are 0) and
halfword (LSB is 0) boundaries, respectively.
Table 3–15. Data Types Supported by Loads
Mnemonic
ld/st
Field
Load Data Type
SIze
Left
Shift of
Offset
LDB
0 1 0
Load byte
8
0 bits
LDBU
0 0 1
Load byte unsigned
8
0 bits
LDH
1 0 0
Load halfword
16
1 bit
LDHU
0 0 0
Load halfword unsigned
16
1 bit
LDW
1 1 0
Load word
32
2 bits
Execution
if (cond)
mem
→
dst
else
nop
Note:
This instruction executes only on the B side (.D2).
Pipeline
Stage
E1
E2
E3
E4
E5
Read
B14 / B15
Written
dst
Unit in use
.D2
Instruction Type
Load
Delay Slots
4
Pipeline