Add Using Word Addressing Mode ADDAW

Example 1

ADDAW .D1

A4,2,A4

 

 

 

Before instruction

 

 

A4

 

 

 

A4

 

0002

0000h

 

 

 

 

 

 

 

 

 

 

 

 

 

AMR

0002

0001h

 

AMR

 

 

 

 

 

 

1 cycle after instruction

0002 0000h

0002 0001h

BK0 = 2 size = 8

A4 in circular addressing mode using BK0

Example 2

ADDAW .D1X B14,42h,A4

 

 

 

Before instruction

 

 

B14

 

 

A4

 

0020 1000h

 

 

 

 

 

 

Example 3

ADDAW .D2 B14,7FFFh,B4

1 cycle after instruction

0020 1108h

Before instruction

1 cycle after instruction

B14

0010 0000h

B4

0011 FFFCh

SPRU733

Instruction Set

3-55

Page 115
Image 115
Texas Instruments TMS320C67X/C67X+ DSP manual Add Using Word Addressing Mode Addaw