beautypg.com

Tltu, Trap if less than unsigned – NEC Network Controller uPD98502 User Manual

Page 583

background image

APPENDIX A MIPS III INSTRUCTION SET DETAILS

Preliminary User’s Manual S15543EJ1V0UM

583

TLTU

Trap If Less Than Unsigned

TLTU

rs

SPECIAL

0 0 0 0 0 0

rt

code

31

26 25

21 20

16 15

0

6

5

5

10

TLTU

1 1 0 0 1 1

6

6 5

Format:

TLTU rs, rt

Description:

The contents of general register

rt are compared to general register rs. Considering both quantities as unsigned

integers, if the contents of general register

rs are less than the contents of general register rt, a trap exception

occurs.

The code field is available for use as software parameters, but is retrieved by the exception handler only by loading

the contents of the memory word containing the instruction.

Operation:

32, 64 T:

if (0 || GPR [rs]) < (0 || GPR [rt]) then

TrapException

endif

Exceptions:

Trap exception