tgeiu

Operands

$reg, imm

Trap if greater or equal to immediate (unsigned) : Raises a trap if $t1 >= immediate using unsigned comparison. The immediate is sign-extended to 32 bits then interpreted as unsigned.

Variants

  • Trap if greater or equal to immediate (unsigned) : Raises a trap if $t1 >= immediate using unsigned comparison. The immediate is sign-extended to 32 bits then interpreted as unsigned. tgeiu $t1,-100
# This named trap is expected to stop execution when its predicate is true.
li $t0, 5
tgeiu $t0, 5
li $t2, 99 # not reached