# `tgeu`

[MIPS Documentation](https://asm-editor.specy.app/documentation/mips.md) › [Instructions](https://asm-editor.specy.app/documentation/mips/instruction.md)

Web page: https://asm-editor.specy.app/documentation/mips/instruction/tgeu

**Trap if greater or equal (unsigned)**

Category: System

Raises a trap exception if the first register is greater than or equal to the second, as unsigned values.

## Forms

- `tgeu $t1, $t2`

## Operands

- `$t1`: Any general-purpose register, `$0` to `$31`, using its numeric or named spelling, such as `$8` or `$t0` (`$zero` is `$0`; `$ra` is `$31`).
- `$t2`: A general-purpose register. It may be the same register as `$t1`.

## Description

Treats both values as unsigned 32-bit integers.

## Example

```mips
# This named trap is expected to stop execution when its predicate is true.
li $t0, 5
li $t1, 5
tgeu $t0, $t1
li $t2, 99 # not reached
```
