
Instruction Fields
A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit signed immediate value
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
A B IMM16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IMM16 0x2e
/jointfilesconvert/364189/bgt
Instruction
branch if greater than signed
Operation
if ((signed) rA > (signed) rB)
then PC ← label
else PC ← PC + 4
Assembler Syntax
/jointfilesconvert/364189/bgt rA, rB, label
Example
/jointfilesconvert/364189/bgt r6, r7, top_of_loop
Description
If (signed) rA > (signed) rB, then /jointfilesconvert/364189/bgt transfers program control
to the instruction at label.
Pseudo-instruction
/jointfilesconvert/364189/bgt is implemented with the blt instruction by swapping the
register operands.
/jointfilesconvert/364189/bgtu
Instruction
branch if greater than unsigned
Operation
if ((unsigned) rA > (unsigned) rB)
then PC ← label
else PC ← PC + 4
Assembler Syntax
/jointfilesconvert/364189/bgtu rA, rB, label
Example
/jointfilesconvert/364189/bgtu r6, r7, top_of_loop
Description
If (unsigned) rA > (unsigned) rB, then /jointfilesconvert/364189/bgtu transfers program
control to the instruction at label.
8-14
/jointfilesconvert/364189/bgt
NII51017
2015.04.02
Altera Corporation
Instruction Set Reference
Send Feedback
Comentários a estes Manuais