Bgtu; Ble; Bleu - Intel NIOS II Owner Reference Manual

Table of Contents

Advertisement

Assembler Syntax
Example
Description
Pseudo-instruction

8.5.10. bgtu

Instruction
Operation
Assembler Syntax
Example
Description
Pseudo-instruction

8.5.11. ble

Instruction
Operation
Assembler Syntax
Example
Description
Pseudo-instruction

8.5.12. bleu

Instruction
Operation
Assembler Syntax
Nios II Processor Reference Guide
180
then PC
label
else PC
PC + 4
bgt rA, rB, label
bgt r6, r7, top_of_loop
If (signed) rA > (signed) rB, then
control to the instruction at label.
is implemented with the
bgt
blt
the register operands.
branch if greater than unsigned
if ((unsigned) rA > (unsigned) rB)
then PC
label
else PC
PC + 4
bgtu rA, rB, label
bgtu r6, r7, top_of_loop
If (unsigned) rA > (unsigned) rB, then
program control to the instruction at label.
is implemented with the
bgtu
the register operands.
branch if less than or equal signed
if ((signed) rA <= (signed) rB)
then PC
label
else PC
PC + 4
ble rA, rB, label
ble r6, r7, top_of_loop
If (signed) rA <= (signed) rB, then
control to the instruction at label.
is implemented with the
ble
the register operands.
branch if less than or equal to unsigned
if ((unsigned) rA <= (unsigned) rB)
then PC
label
else PC
PC + 4
bleu rA, rB, label
8. Instruction Set Reference
NII-PRG | 2018.04.18
transfers program
bgt
instruction by swapping
transfers
bgtu
instruction by swapping
bltu
transfers program
ble
instruction by swapping
bge
continued...

Advertisement

Table of Contents
loading

Table of Contents