tge

Operands

$reg, $reg

Trap if greater or equal (signed) : Raises a trap exception if $t1 >= $t2 (signed comparison).

Variants

  • Trap if greater or equal (signed) : Raises a trap exception if $t1 >= $t2 (signed comparison). tge $t1,$t2
# This named trap is expected to stop execution when its predicate is true.
li $t0, 5
li $t1, 5
tge $t0, $t1
li $t2, 99 # not reached