Add two signed integers without saturation add – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 104

Advertising
background image

ADD

Add Two Signed Integers Without Saturation

3-44

Instruction Set

SPRU733

Add Two Signed Integers Without Saturation

ADD

Syntax

ADD (.unit) src1, src2, dst

or

ADD (.D1 or .D2) src2, src1, dst
.unit = .L1, .L2, .S1, .S2

Compatibility

C62x, C64x, C67x, and C67x+ CPU

Opcode

.L unit

31

29

28

27

23

22

18

17

13

12

11

5

4

3

2

1

0

creg

z

dst

src2

src1

x

op

1 1 0 s p

3

1

5

5

5

1

7

1

1

Opcode map field used...

For operand type...

Unit

Opfield

src1
src2
dst

sint
xsint
sint

.L1, .L2

000 0011

src1
src2
dst

sint
xsint
slong

.L1, .L2

010 0011

src1
src2
dst

xsint
slong
slong

.L1, .L2

010 0001

src1
src2
dst

scst5
xsint
sint

.L1, .L2

000 0010

src1
src2
dst

scst5
slong
slong

.L1, .L2

010 0000

Advertising