Specifications

Pseudo-instruction
bgtu is implemented with the bltu instruction by swapping the
register operands.
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.
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.
blt
Instruction
branch if less than signed
Operation
if ((signed) rA < (signed) rB)
then PC ← PC + 4 + σ(IMM16)
else PC ← PC + 4
NII51017
2015.04.02
ble
8-15
Instruction Set Reference
Altera Corporation
Send Feedback