LDDW Load Doubleword From Memory With an Unsigned Constant Offset or Register Offset

Delay Slots

4

 

Functional Unit

1

 

Latency

 

 

See Also

LDB, LDH, LDW

Example 1

LDDW .D2

*+B10[1],A1:A0

Before instruction

5 cycles after instruction

A1:A0

xxxx xxxxh

xxxx xxxxh

 

 

 

 

 

 

 

 

B10

0000

0010h

 

 

 

 

 

 

 

 

 

mem 18h

3333

3333h

4021 3333h

 

 

 

 

 

A1:A0

4021

3333h

3333

3333h

 

 

 

 

 

 

 

 

 

 

 

 

16

B10

0000

0010h

 

 

 

 

 

 

 

 

 

 

 

 

8.6

mem 18h

3333 3333h

4021

3333h

 

 

 

 

 

 

Little-endian mode

16

8.6

Example 2

LDDW .D1

*++A10[1],A1:A0

 

 

 

 

Before instruction

 

 

 

1 cycle after instruction

A1:A0

 

 

 

 

 

 

xxxx xxxxh

xxxx xxxxh

 

A1:A0

xxxx xxxxh

xxxx xxxxh

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A10

0000 0010h

 

16

A10

0000

0018h

 

 

 

 

 

 

 

 

 

 

 

 

 

mem 18h

4021 3333h

3333 3333h

8.6

mem 18h

4021 3333h

3333 3333h

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 cycles after instruction

 

 

 

 

 

A1:A0

 

 

 

 

 

 

 

 

4021

3333h

3333 3333h

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A10

0000

0018h

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

mem 18h

4021 3333h

3333 3333h

 

 

 

 

 

 

 

 

 

Big-endian mode

24

8.6

24

8.6

3-130

Instruction Set

SPRU733

Page 190
Image 190
Texas Instruments TMS320C67X/C67X+ DSP manual Ldb, Ldh, Ldw, Before instruction Cycles after instruction