214
Format:
slti rt, rs, immediate
Description:
The 16-bit
immediate
is sign-extended and subtracted from the contents of general register
rs.
Considering both quantities as signed integers, if
rs
is less than the sign-extended immediate, the
result is set to one; otherwise the result is set to zero.
The result is placed into general register
rt.
Since the RSP does not signal an overflow exception for
SLTI
, this command behaves identically to
SLTIU
.
Operation:
Exceptions:
None
SLTI
Set On Less Than Immediate
31
25
26
20
21
15
16
0
SLTI
rs
rt
immediate
6
5
5
16
0 0 1 0 1 0
SLTI
T:
if GPR[rs] < (immediate
15
)
16
|| immediate
15...0
then
GPR[rd]
0
31
|| 1
else
GPR[rd]
0
32
endif
Содержание Ultra64
Страница 2: ...2 ...
Страница 10: ...10 ...
Страница 12: ...12 Figure 6 2 buildtask Operation 137 ...
Страница 14: ...14 ...
Страница 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Страница 104: ...104 RSP Coprocessor 0 ...
Страница 150: ...150 Advanced Information ...
Страница 155: ...Revision 1 0 155 ...
Страница 248: ...248 Exceptions None ...
Страница 251: ...Revision 1 0 251 Exceptions None ...
Страница 254: ...254 Exceptions None ...
Страница 257: ...Revision 1 0 257 Exceptions None ...
Страница 293: ...Revision 1 0 293 Exceptions None ...
Страница 316: ...316 Exceptions None ...