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

  • 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 447
APPENDIX A MIPS III INSTRUCTION SET DETAILS
448
Preliminary Users Manual S15543EJ1V0UM
BEQ
Branch On Equal
BEQ
rs
BEQ
0 0 0 1 0 0
rt offset
31 26 25 21 20 16 15 0
655 16
Format:
BEQ rs, rt, offset
Description:
A branch target address is computed from the sum of the address of the instruction in the delay slot and the 16-bit
offset
, shifted left two bits and sign-extended. The contents of general register
rs
and the contents of general
register
rt
are compared. If the two registers are equal, then the program branches to the target address, with a
delay of one instruction.
Operation:
32 T:
target (offset
15
)
14
|| offset || 0
2
condition (GPR [rs] = GPR [rt])
T+1: if condition then
PC PC + target
endif
64 T:
target (offset
15
)
46
|| offset || 0
2
condition (GPR [rs] = GPR [rt])
T+1: if condition then
PC PC + target
endif
Exceptions:
None
Zobrazit stránku 447
1 2 ... 443 444 445 446 447 448 449 450 451 452 453 ... 594 595

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

Žádné komentáře