Load Byte From Memory With a 15-Bit Unsigned Constant Offset LDB(U)
3-127 Instruction SetSPRU733
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
See Also LDH, LDW
Example
LDB .D2 *+B14[36],B1
Before LDB 1 cycle after LDB
B1
XXXX XXXXh
B1
XXXX XXXXh
B14
0000 0100h
B14
0000 0100h
mem 124−127h 4E7A FF12h mem 124−127h 4E7A FF12h
mem 124h 12h mem 124h 12h
5 cycles after LDB
B1
0000 0012h
B14
0000 0100h
mem 124−127h 4E7A FF12h
mem 124h 12h
Pipeline