NEC uPD98502 User Manual page 573

Network controller
Table of Contents

Advertisement

TGEI
Trap If Greater Than Or Equal Immediate
31
26 25
REGIMM
0 0 0 0 0 1
6
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:
32
T:
if GPR [rs] > (immediate
TrapException
endif
64
T:
if GPR [rs] > (immediate
TrapException
endif
Exceptions:
Trap exception
APPENDIX A MIPS III INSTRUCTION SET DETAILS
21 20
16 15
TGEI
rs
0 1 0 0 0
5
5
16
)
|| immediate
15
15...0
48
)
|| immediate
15
15...0
Preliminary User's Manual S15543EJ1V0UM
immediate
16
then
then
TGEI
0
573

Advertisement

Table of Contents
loading

Table of Contents