SUB Subtract Two Signed Integers Without Saturation

Opcode

 

 

.S unit

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

11

6

5

4

3

2

1

0

creg

z

dst

src2

src1

x

op

1 0 0 0 s

p

3 1555161 1

Opcode map field used...

For operand type...

Unit

Opfield

 

 

 

 

src1

sint

.S1, .S2

01 0111

src2

xsint

 

 

dst

sint

 

 

src1

scst5

.S1, .S2

01 0110

src2

xsint

 

 

dst

sint

 

 

 

 

 

 

Description for .L1, .L2 and .S1, .S2 Opcodes

src2 is subtracted from src1. The result is placed in dst.

Execution for .L1, .L2 and .S1, .S2 Opcodes

if (cond)

src1 src2 dst else nop

3-250

Instruction Set

SPRU733

Page 310
Image 310
Texas Instruments TMS320C67X/C67X+ DSP manual Src1 − src2 → dst else nop