Subtract Conditionally and Shift−Used for Division SUBC

Example 1

SUBC .L1 A0,A1,A0

Before instruction

1 cycle after instruction

A0

0000

125Ah

4698

A0

 

 

 

 

 

 

 

 

 

 

A1

0000

1F12h

7954

A1

 

 

 

 

 

0000 024B4h

0000 1F12h

9396

Example 2

SUBC .L1 A0,A1,A0

Before instruction

1 cycle after instruction

A0

0002

1A31h

137777

A0

 

 

 

 

 

 

 

 

 

 

A1

0001

F63Fh

128575

A1

 

 

 

 

 

0000 47E5h

0001 F63Fh

18405

SPRU733

Instruction Set

3-259

Page 319
Image 319
Texas Instruments TMS320C67X/C67X+ DSP manual Subtract Conditionally and Shift−Used for Division Subc