Load Halfword From Memory With a 5-Bit Unsigned Constant Offset or Register Offset LDH(U)

Example

Before LDH

A1 0000 0002h

A4 0000 0020h

A8 1103 51FFh AMR 0000 0000h

LDH .D1 *++A4[A1],A8

1 cycle after LDH

A1 0000 0002h

A4 0000 0024h

A8 1103 51FFh

AMR 0000 0000h

5 cycles after LDH

A1 0000 0002h

A4 0000 0024h

A8 FFFF A21Fh AMR 0000 0000h

mem 24h

A21Fh

mem 24h

A21Fh

 

 

 

 

mem

24h

A21Fh

 

 

 

SPRU733

Instruction Set

3-133

Page 193
Image 193
Texas Instruments TMS320C67X/C67X+ DSP manual Before LDH, Cycle after LDH, Cycles after LDH