ADDAD Add Using Doubleword Addressing Mode

 

 

 

Add Using Doubleword Addressing Mode

 

 

 

 

 

 

 

 

ADDAD

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

ADDAD (.unit) src2, src1, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.unit = . D1 or .D2

 

 

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C67x and C67x+ CPU

 

 

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

7

6

5

4

3

2

1

0

creg

3

z

1

dst

 

src2

src1

 

op

1

0

0

0

0

s

p

5

 

5

5

 

6

1

1

 

 

 

 

 

 

 

 

 

 

Opcode map field used...

For operand type...

Unit

 

Opfield

 

 

 

 

 

 

 

 

 

 

 

src2

sint

.D1, .D2

11 1100

 

 

 

 

src1

sint

 

 

 

 

 

 

 

 

 

 

dst

sint

 

 

 

 

 

 

 

 

 

 

src2

sint

.D1, .D2

11 1101

 

 

 

 

src1

ucst5

 

 

 

 

 

 

 

 

 

 

dst

sint

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

Execution

Pipeline

src1 is added to src2 using the doubleword addressing mode specified for src2. The addition defaults to linear mode. However, if src2 is one of A4−A7 or B4−B7, the mode can be changed to circular mode by writing the appropri- ate value to the AMR (see section 2.7.3, page 2-10). src1 is left shifted by 3 due to doubleword data sizes. The result is placed in dst.

Note:

There is no SUBAD instruction.

if (cond) src2 +(src1 tt 3) dst else nop

Pipeline

E1

stage

 

 

Read

src1, src2

Written

dst

Unit in use

.D

 

 

3-50

Instruction Set

SPRU733

Page 110
Image 110
Texas Instruments TMS320C67X/C67X+ DSP manual Add Using Doubleword Addressing Mode, Addad