Chapter 8: Instruction Set Reference
Instruction Set Reference
cmpleu
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Pseudo-instruction:
February 2014 Altera Corporation
if ((unsigned) rA < (unsigned) rB)
then rC ← 1
else rC ← 0
cmpleu rC, rA, rB
cmpleu r6, r7, r8
If rA <= rB, then stores 1 to rC; otherwise stores 0 to rC.
cmpleu performs the unsigned <= operation of the C programming language.
cmpleu is implemented with the cmpgeu instruction by swapping its rA and rB operands.
compare less than or equal unsigned
Nios II Processor Reference Handbook
8–39
Need help?
Do you have a question about the Nios II and is the answer not in the manual?