|Instruction||compare greater than unsigned|
if ((unsigned) rA > (unsigned) rB)
then rC ← 1
else rC ← 0
cmpgtu rC, rA, rB
cmpgtu r6, r7, r8
If rA > rB, then stores 1 to rC; otherwise stores 0 to rC.
cmpgtu performs the unsigned > operation of the C programming language.
cmpgtu is implemented with the cmpltu instruction by swapping its rA and rB operands.
Did you find the information on this page useful?