Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 319

Advertising
background image

Subtract Conditionally and Shift−Used for Division

SUBC

3-259

Instruction Set

SPRU733

Example 1

SUBC .L1

A0,A1,A0

Before instruction

1 cycle after instruction

A0 0000 125Ah

4698

A0 0000 024B4h

9396

A1 0000 1F12h

7954

A1 0000 1F12h

Example 2

SUBC .L1

A0,A1,A0

Before instruction

1 cycle after instruction

A0 0002 1A31h

137777

A0 0000 47E5h

18405

A1 0001 F63Fh

128575

A1 0001 F63Fh

Advertising