Architecture
179
SLTIU Set On Less Than Immediate Unsigned SLTIU
31 26 25 21 20 16 15 0
SLTIU
001011 rs rt immediate
6 5 5 16
Format :
SLTIU rt, rs, immediate
Description :
Sign-extends the 16-bit immediate value and compares the result with the contents of general-
purpose register rs, treating both values as 32-bit unsigned integers. A 1, if rs is less than the sigh-
extended immediate value, or a 0, otherwise, is placed in general-purpose register rt as result of the
comparison.
No overflow exception is raised. The comparison is valid even if the subtraction used in making
the comparison overflows.
Operation :
T: if (0 || GPR[rs]) < (0 || (immediate15)16 ||immediate15..0) then
GPR[rd] 031 || 1
else GPR[rd] 032
endif
Exceptions :
None