Nios II Classic Processor Reference Guide

ID 683620
Date 10/28/2016
Public
Document Table of Contents

8.5.12. bleu

Instruction branch if less than or equal to unsigned
Operation

if ((unsigned) rA <= (unsigned) rB)

then PC ←  label

else PC ←  PC + 4

Assembler Syntax

bleu rA, rB, label

Example

bleu r6, r7, top_of_loop

Description

If (unsigned) rA <= (unsigned) rB, then bleu transfers program counter to the instruction at label.

Pseudo-instruction

bleu is implemented with the bgeu instruction by swapping the register operands.