Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 163

Advertising
background image

Compare for Less Than, Unsigned Integers

CMPLTU

3-103

Instruction Set

SPRU733

Pipeline
Stage

E1

Read

src1, src2

Written

dst

Unit in use

.L

Instruction Type

Single-cycle

Delay Slots

0

See Also

CMPGTU, CMPLT, CMPLTDP, CMPLTSP

Example 1

CMPLTU .L1 A1,A2,A3

Before instruction

1 cycle after instruction

A1 0000 289Ah

10394

A1 0000 289Ah

A2 FFFF F35Eh

4294964062

A2 FFFF F35Eh

A3 xxxx xxxxh

A3 0000 0001h

true

Unsigned 32-bit integer

Example 2

CMPLTU .L1 14,A1,A2

Before instruction

1 cycle after instruction

A1 0000 000Fh

15

A1 0000 000Fh

A2 xxxx xxxxh

A2 0000 0001h

true

Unsigned 32-bit integer

Example 3

CMPLTU .L1 A1,A5:A4,A2

Before instruction

1 cycle after instruction

A1 003B 8260h

3900000

A1 003B 8260h

A2 xxxx xxxxh

A2 0000 0000h

false

A5:A4 0000 0000h

003A 0002h

3801090

A5:A4 0000 0000h

003A 0002h

Unsigned 32-bit integer

Unsigned 40-bit (long) integer

Pipeline

Advertising