beautypg.com

Tgeiu, Trap if greater than or equal immediate unsigned – NEC Network Controller uPD98502 User Manual

Page 574

background image

APPENDIX A MIPS III INSTRUCTION SET DETAILS

574

Preliminary User’s Manual S15543EJ1V0UM

TGEIU

Trap If Greater Than Or Equal Immediate Unsigned

TGEIU

rs

REGIMM

0 0 0 0 0 1

TGEIU

0 1 0 0 1

immediate

31

26 25

21 20

16 15

0

6

5

5

16

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:

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

Exceptions:

Trap exception