Altera Nios II User Manual page 219

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents