NEC uPD98502 User Manual page 552

Network controller
Table of Contents

Advertisement

SLTU
31
26 25
SPECIAL
0 0 0 0 0 0
6
Format:
SLTU rd, rs, rt
Description:
The contents of general register rt are subtracted from the contents of general register rs. Considering both
quantities as unsigned integers, if the contents of general register rs are less than the contents of general register
rt , the result is set to 1; otherwise the result is set to 0.
No integer overflow exception occurs under any circumstances. The comparison is valid even if the subtraction
used during the comparison overflows.
Operation:
32
T:
if (0 || GPR [rs]) < 0 || GPR [rt] then
GPR [rd] ← 0
else
GPR [rd] ← 0
endif
64
T:
if (0 || GPR [rs]) < 0 || GPR [rt] then
GPR [rd] ← 0
else
GPR [rd] ← 0
endif
Exceptions:
None
552
APPENDIX A MIPS III INSTRUCTION SET DETAILS
Set On Less Than Unsigned
21 20
16 15
rs
rt
5
5
31
|| 1
32
63
|| 1
64
Preliminary User's Manual S15543EJ1V0UM
11 10
6 5
0
rd
0 0 0 0 0
5
5
SLTU
0
SLTU
1 0 1 0 1 1
6

Advertisement

Table of Contents
loading

Table of Contents