MIPS R4000 Microprocessor User's Manual A-167
CPU Instruction Set Details
Format:
TGEIU rs, immediate
Description:
The 16-bit immediate is sign-extended and compared to the contents of
general register rs. Considering both quantities as unsigned integers, if the
contents of general register rs are greater than or equal to the sign-
extended immediate, a trap exception occurs.
Operation:
Exceptions:
Trap exception
TGEIU
Trap If Greater Than Or Equal
31 2526 2021 1516
REGIMM rs
655
immediateTGEIU
16
0
Immediate Unsigned
0 0 0 0 0 1 0 1 0 0 1
TGEIU
32 T: if (0 || GPR[rs]) ≥ (0 || (immediate
15
)
16
|| immediate
15...0
) then
TrapException
endif
64 T: if (0 || GPR[rs]) ≥ (0 || (immediate
15
)
48
|| immediate
15...0
) then
TrapException
endif