NEC uPD98502 User Manual page 459

Network controller
Table of Contents

Advertisement

BLTZAL
31
26 25
REGIMM
0 0 0 0 0 1
6
Format:
BLTZAL rs, 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. Unconditionally, the address of the instruction after the delay slot is
placed in the link register, r31 . If the contents of general register rs are smaller than zero when compared to zero,
then the program branches to the target address, with a delay of one instruction.
General register r31 should not be specified as general register rs . If register r31 is specified, restarting may be
impossible due to the destruction of rs contents caused by storing a link address. Even such instructions are
executed, an exception does not result.
Operation:
target ← (offset
32
T:
condition ← (GPR [rs]
GPR [31] ← PC + 8
T+1: if condition then
PC ← PC + target
endif
target ← (offset
64
T:
condition ← (GPR [rs]
GPR [31] ← PC + 8
T+1: if condition then
PC ← PC + target
endif
Exceptions:
None
APPENDIX A MIPS III INSTRUCTION SET DETAILS
Branch On Less Than Zero And Link
21 20
16 15
BLTZAL
rs
1 0 0 0 0
5
5
14
2
)
|| offset || 0
15
= 1)
31
46
2
)
|| offset || 0
15
= 1)
63
Preliminary User's Manual S15543EJ1V0UM
BLTZAL
offset
16
0
459

Advertisement

Table of Contents
loading

Table of Contents