POOL32A 000000 |
rt |
rs |
rd |
0 |
SLT 1101010000 |
6 |
5 |
5 |
5 |
1 |
10 |
SLT rd, rs, rt |
microMIPS |
Set on Less Than |
Set on Less Than
To record the result of a less-than comparison.
GPR[rd] = (GPR[rs] < GPR[rt])
Compare the contents of GPR rs and GPR rt as signed integers; record the Boolean result of the comparison in
GPR rd. If GPR rs is less than GPR rt, the result is 1 (true); otherwise, it is 0 (false).
The arithmetic comparison does not cause an Integer Overflow exception.
None
if GPR[rs] < GPR[rt] then GPR[rd] = 0GPRLEN-1 || 1 else GPR[rd] = 0GPRLEN endif
None