Add Using Halfword Addressing Mode ADDAH

Example 1

ADDAH .D1 A4,A2,A4

Before instruction

1 cycle after instruction

A2 0000 000Bh

A4 0000 0100h

AMR 0002 0001h

A2

A4

AMR

0000 000Bh

0000 0106h

0002 0001h

BK0 = 2 size = 8

A4 in circular addressing mode using BK0

Example 2

ADDAH .D1X B14,42h,A4

 

 

 

Before instruction

 

 

B14

 

 

A4

 

0020 1000h

 

 

 

 

 

 

Example 3

ADDAH .D2 B14,7FFFh,B4

1 cycle after instruction

0020 1084h

Before instruction

1 cycle after instruction

B14

0010 0000h

B4

0010 FFFEh

SPRU733

Instruction Set

3-53

Page 113
Image 113
Texas Instruments TMS320C67X/C67X+ DSP manual Add Using Halfword Addressing Mode Addah