beautypg.com

Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 312

background image

SUB

Subtract Two Signed Integers Without Saturation

3-252

Instruction Set

SPRU733

Instruction Type

Single-cycle

Delay Slots

0

See Also

ADD, SSUB, SUBC, SUBDP, SUBSP, SUBU, SUB2

Example

SUB .L1

A1,A2,A3

Before instruction

1 cycle after instruction

A1 0000 325Ah

12810

A1 0000 325Ah

A2 FFFF FF12h

−238

A2 FFFF FF12h

A3 xxxx xxxxh

A3 0000 3348h

13128