Compare for Less Than, Signed Integers CMPLT

Example 1

CMPLT .L1

A1,A2,A3

 

 

 

Before instruction

 

 

A1

 

 

2018

A1

 

0000

07E2h

 

 

 

 

 

 

 

 

 

 

 

A2

0000 0F6Bh

3947

A2

 

 

 

 

 

 

 

 

 

 

 

A3

xxxx xxxxh

 

A3

 

 

 

 

 

 

1 cycle after instruction

0000 07E2h

0000 0F6Bh

0000 0001h true

Example 2

CMPLT .L1

A1,A2,A3

 

 

 

Before instruction

 

 

A1

 

−298

A1

 

FFFF FED6h

 

 

 

 

 

 

 

 

 

 

 

 

 

A2

0000

000Ch

12

A2

 

 

 

 

 

 

 

 

 

 

 

A3

xxxx xxxxh

 

A3

 

 

 

 

 

 

Example 3

CMPLT .L1 9,A1,A2

1 cycle after instruction

FFFFFED6h

0000 000Ch

0000 0001h true

Before instruction

1 cycle after instruction

A1 0000 0005h

A2 xxxx xxxxh

5A1

A2

0000 0005h

0000 0000h

false

SPRU733

Instruction Set

3-97

Page 157
Image 157
Texas Instruments TMS320C67X/C67X+ DSP manual Compare for Less Than, Signed Integers Cmplt