RR 11101 |
rx |
ry |
SLT 00010 |
5 |
3 |
3 |
5 |
SLT rx, ry |
MIPS16e |
Set on Less Than |
Set on Less Than
To record the result of a less-than comparison.
T = (GPR[rx] < GPR[ry])
The contents of GPR ry are subtracted from the contents of GPR rx. Considering both quantities as signed integers, if the contents of GPR rx are less than the contents of GPR ry, the result is set to 1 (true); otherwise, the result is set to 0
(false). This result is placed into GPR 24.
None
if GPR[Xlat(rx)] < GPR[Xlat(ry)] then GPR[24] = 0GPRLEN-1 || 1 else GPR[24] = 0GPRLEN endif
None