|Instruction||branch if greater than or equal unsigned|
if ((unsigned) rA >= (unsigned) rB)
then PC ← PC + 4 + σ(IMM16)
else PC ← PC + 4
bgeu rA, rB, label
bgeu r6, r7, top_of_loop
If (unsigned) rA >= (unsigned) rB, then bgeu transfers program control to the instruction at label. In the instruction encoding, the offset given by IMM16 is treated as a signed number of bytes relative to the instruction immediately following bgeu. The two least-significant bits of IMM16 are always zero, because instruction addresses must be word-aligned.
Misaligned destination address
A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit signed immediate value
Did you find the information on this page useful?