Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 157

Advertising
background image

Compare for Less Than, Signed Integers

CMPLT

3-97

Instruction Set

SPRU733

Example 1

CMPLT .L1

A1,A2,A3

Before instruction

1 cycle after instruction

A1 0000 07E2h

2018

A1 0000 07E2h

A2 0000 0F6Bh

3947

A2 0000 0F6Bh

A3 xxxx xxxxh

A3 0000 0001h

true

Example 2

CMPLT .L1

A1,A2,A3

Before instruction

1 cycle after instruction

A1 FFFF FED6h

−298

A1 FFFF FED6h

A2 0000 000Ch

12

A2 0000 000Ch

A3 xxxx xxxxh

A3 0000 0001h

true

Example 3

CMPLT .L1

9,A1,A2

Before instruction

1 cycle after instruction

A1 0000 0005h

5

A1 0000 0005h

A2 xxxx xxxxh

A2 0000 0000h

false

Advertising