Assembly:

SLT rd, rs, rt

nanoMIPS

Set on Less Than

Purpose:

Set on Less Than. Set the register $rd to 1 if signed register $rs is less than signed register$rt, and 0 otherwise.

Availability:

nanoMIPS

Format:

001000

rt

rs

rd

x

1101010

000

6

5

5

5

1

7

3

Operation:

GPR[rd] = 1 if GPR[rs] < GPR[rt] else 0

Exceptions:

None.