Texas Instruments TMS320C67X/C67X+ DSP Car Speaker User Manual


 
CMPGTU Compare for Greater Than, Unsigned Integers
3-94 Instruction Set SPRU733
Pipeline
Stage
E1
Read src1, src2
Written dst
Unit in use
.L
Instruction Type Single-cycle
Delay Slots 0
See Also CMPGT, CMPGTDP, CMPGTSP, CMPLTU
Example 1
CMPGTU .L1 A1,A2,A3
Before instruction 1 cycle after instruction
A1
0000 0128h
296
A1 0000 0128h
A2 FFFF FFDEh 4294967262
A2 FFFF FFDEh
A3 xxxx xxxxh A3 0000 0000h false
Unsigned 32-bit integer
Example 2 CMPGTU .L1 0Ah,A1,A2
Before instruction 1 cycle after instruction
A1
0000 0005h
5
A1 0000 0005h
A2 xxxx xxxxh A2 0000 0001h true
Unsigned 32-bit integer
Example 3 CMPGTU .L1 0Eh,A3:A2,A4
Before instruction 1 cycle after instruction
A3:A2
0000 0000h
0000 000Ah 10
A3:A2 0000 0000h 0000 000Ah
A4 xxxx xxxxh A4 0000 0001h true
Unsigned 40-bit (long) integer
Pipeline