NEC uPD98502 User Manual page 549

Network controller
Table of Contents

Advertisement

SLT
31
26 25
SPECIAL
0 0 0 0 0 0
6
Format:
SLT rd, rs, rt
Description:
The contents of general register rt are subtracted from the contents of general register rs . Considering both
quantities as signed integers, if the contents of general register rs are less than the contents of general register rt ,
the result is set to one; otherwise the result is set to zero.
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 GPR [rs] < GPR [rt] then
GPR [rd] ← 0
else
GPR [rd] ← 0
endif
64
T:
if GPR [rs] < GPR [rt] then
GPR [rd] ← 0
else
GPR [rd] ← 0
endif
Exceptions:
None
APPENDIX A MIPS III INSTRUCTION SET DETAILS
Set On Less Than
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
SLT
0
SLT
1 0 1 0 1 0
6
549

Advertisement

Table of Contents
loading

Table of Contents