Altera Nios II User Manual page 195

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

Chapter 8: Instruction Set Reference
Instruction Set Reference
bgt
Operation:
Assembler Syntax:
Example:
Description:
Pseudo-instruction:
February 2014 Altera Corporation
if ((signed) rA > (signed) rB)
then PC ← label
else PC ← PC + 4
bgt rA, rB, label
bgt r6, r7, top_of_loop
If (signed) rA > (signed) rB, then bgt transfers program control to the instruction at label.
bgt is implemented with the blt instruction by swapping the register operands.
branch if greater than signed
Nios II Processor Reference Handbook
8–15

Advertisement

Table of Contents
loading

Table of Contents