Nios® II Processor Reference Guide

ID 683836
Date 8/28/2023
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.