An R-type Instruction For Testing
The “set less than” instruction is an R-type instruction that tests the less than relation (<)
slt result, left_operand,right_operand
If the left operand is (strictly) less than the right operand as signed integers, set result register to 1; otherwise set it to 0
Example: slt $7, $3, $4 # Is Reg3 < Reg4?