Nios II Classic Processor Reference Guide

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

8.5.11. ble

Instruction branch if less than or equal signed
Operation

if ((signed) rA <= (signed) rB)

then PC ←  label

else PC ←  PC + 4

Assembler Syntax

ble rA, rB, label

Example

ble r6, r7, top_of_loop

Description

If (signed) rA <= (signed) rB, then ble transfers program control to the instruction at label.

Pseudo-instruction

ble is implemented with the bge instruction by swapping the register operands.