EXTEND 11110 |
imm 10:5 |
imm 15:11 |
SLTIU 01011 |
rx |
0 000 |
imm 4:0 |
5 |
6 |
5 |
5 |
3 |
3 |
5 |
SLTIU rx, immediate |
MIPS16e |
Set on Less Than Immediate Unsigned (Extended) |
Set on Less Than Immediate Unsigned (Extended)
To record the result of an unsigned less-than comparison with a constant.
T = (GPR[rx] < immediate)
The 16-bitimmediate is sign-extended and subtracted from the contents of GPR rx. Considering both quantities as unsigned integers, if GPR rx is less than the sign-extended immediate, the result is set to 1 (true); otherwise, the result is set to 0 (false). The result is placed into GPR 24.
None
if (0 || GPR[Xlat(rx)]) < (0 || sign_extend(immediate)) then GPR[24] = 0GPRLEN-1 || 1 else GPR[24] = 0GPRLEN endif
None