EasyManua.ls Logo

Mips Technologies R4000 - Page 634

Mips Technologies R4000
754 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A
A-166 MIPS R4000 Microprocessor User's Manual
Format:
TGEI rs, immediate
Description:
The 16-bit immediate is sign-extended and compared to the contents of
general register rs. Considering both quantities as signed 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
TGEI
Trap If Greater Than Or Equal Immediate
31 2526 2021 1516
REGIMM rs
655
immediateTGEI
16
0
0 0 0 0 0 1 0 1 0 0 0
TGEI
32 T: if GPR[rs] (immediate
15
)
16
|| immediate
15...0
then
TrapException
endif
64 T: if GPR[rs] (immediate
15
)
48
|| immediate
15...0
then
TrapException
endif

Table of Contents