Toshiba TX39 user manual Slt

Models: TX39

1 246
Download 246 pages 24.89 Kb
Page 188
Image 188

Architecture

SLT

Set On Less Than

SLT

 

31

26 25

21 20

16 15

11 10

6 5

0

 

 

 

SPECIAL

 

rs

 

rt

 

rd

 

0

 

SLT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

000000

 

 

 

 

 

 

 

00000

 

101010

 

 

 

6

 

5

 

5

 

5

 

5

 

6

 

Format :

SLT rd, rs, rt

Description :

Compares the contents of general-purpose registers rt and rs as 32-bit signed 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 GPR[rs]< GPR[rt] then

 

GPR[rd] 031 1

 

else

 

GPR[rd] 032

 

endif

 

 

Exceptions :

None

177

Page 188
Image 188
Toshiba TX39 user manual Slt