Architecture

SLTU

Set On Less Than Unsigned

SLTU

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

SPECIAL

 

rs

 

rt

 

 

rd

 

0

 

SLTU

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

 

 

 

 

 

 

 

00000

 

101011

 

 

6

5

5

 

 

5

 

5

 

6

 

Format :

SLTU rd, rs, rt

Description :

Compares the contents of general registers rt and rs as 32-bit unsigned integers. A 1, if rs is less than rt, or a 0, otherwise, is placed in general-purpose register rd as the result of the comparison. No overflow exception is raised. The comparison is valid even if the subtraction used in making the comparison overflows.

Operation :

T:if (0 GPR[rs]) < (0 GPR[rt]) then

GPR[rd] 031 1

else

GPR[rd] 032

endif

Exceptions :

None

180

Page 191
Image 191
Toshiba TX39 user manual Sltu