IPR-NIOS Altera, IPR-NIOS Datasheet - Page 226

no-image

IPR-NIOS

Manufacturer Part Number
IPR-NIOS
Description
IP NIOS II MEGACORE RENEW
Manufacturer
Altera
Type
MegaCorer
Datasheet

Specifications of IPR-NIOS

License
Renewal License
Lead Free Status / RoHS Status
Not applicable / Not applicable
8–40
cmpleui
Nios II Processor Reference Handbook
Operation:
Assembler Syntax:
Example:
Description:
Usage:
Pseudo-instruction:
if ((unsigned) rA <= (unsigned) IMMED)
then rB ← 1
else rB ← 0
cmpleui rB, rA, IMMED
cmpleui r6, r7, 100
Zero-extends the immediate value IMMED to 32 bits and compares it to the value of rA. If rA <=
IMMED, then cmpleui stores 1 to rB; otherwise stores 0 to rB.
cmpleui performs the unsigned <= operation of the C programming language. The maximum
allowed value of IMMED is 65534. The minimum allowed value is 0.
cmpleui is implemented using a cmpltui instruction with an IMM16 immediate value of
IMMED + 1.
compare less than or equal unsigned immediate
Chapter 8: Instruction Set Reference
December 2010 Altera Corporation
Instruction Set Reference

Related parts for IPR-NIOS