Nec Network Controller uPD98502 Uživatelský manuál Strana 550

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 595
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 549
APPENDIX A MIPS III INSTRUCTION SET DETAILS
550
Preliminary Users Manual S15543EJ1V0UM
SLTI
Set On Less Than Immediate
SLTI
rs
SLTI
0 0 1 0 1 0
rt immediate
31 26 25 21 20 16 15 0
655 16
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 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 GPR [rs] <
(
immediate
15
)
16
|| immediate
15...0
then
GPR [rt] 0
31
|| 1
else
GPR [rt] 0
32
endif
64 T:
if GPR [rs] <
(
immediate
15
)
48
|| immediate
15...0
then
GPR [rt] 0
63
|| 1
else
GPR [rt] 0
64
endif
Exceptions:
None
Zobrazit stránku 549
1 2 ... 545 546 547 548 549 550 551 552 553 554 555 ... 594 595

Komentáře k této Příručce

Žádné komentáře