Load From Memory With a 5-Bit Unsigned Constant Offset or Register Offset
LDB(U)/LDH(U)/LDW
3-69
TMS320C62x/C67x Fixed-Point Instruction Set
Example 2
LDB .D1
*–A5[4],A7
Before LDB
1 cycle after LDB
5 cycles after LDB
A5
0000 0204h
A5
0000 0204h
A5
0000 0204h
A7
1951 1970h
A7
1951 1970h
A7
FFFF FFE1h
AMR
0000 0000h
AMR
0000 0000h
AMR
0000 0000h
mem
200h
E1h
mem
200h
E1h
mem
200h
E1h
Example 3
LDH .D1
*++A4[A1],A8
Before LDH
1 cycle after LDH
5 cycles after LDH
A1
0000 0002h
A1
0000 0002h
A1
0000 0002h
A4
0000 0020h
A4
0000 0024h
A4
0000 0024h
A8
1103 51FFh
A8
1103 51FFh
A8
FFFF A21Fh
AMR
0000 0000h
AMR
0000 0000h
AMR
0000 0000h
mem
24h
A21Fh
mem
24h
A21Fh
mem
24h
A21Fh
Example 4
LDW .D1
*A4++[1],A6
Before LDW
1 cycle after LDW
5 cycles after LDW
A4
0000 0100h
A4
0000 0104h
A4
0000 0104h
A6
1234 4321h
A6
1234 4321h
A6
0798 F25Ah
AMR
0000 0000h
AMR
0000 0000h
AMR
0000 0000h
mem
100h
0798 F25Ah
mem
100h
0798 F25Ah
mem
100h
0798 F25Ah
mem
104h
1970 19F3h
mem
104h
1970 19F3h
mem
104h
1970 19F3h