Download Toshiba TX39 Computer Hardware User Manual

Transcript
Architecture
BLTZL
BLTZL
Branch On Less Than Zero Likely
31
26 25
BCOND
21 20
rs
000001
16 15
0
BLTZL
offset
00010
6
5
5
16
Format :
BLTZL rs, offset
Description :
Generates a branch target address by adding the address of the instruction in the delay slot to the 16bit offset (that has been left-shifted two bits and sign-extended to 32 bits). If the value in generalpurpose register rs is negative (i.e., the sign bit of rs is 1), the program branches to the target address
after a one-cycle delay.
If the branch is not taken, the instruction in the delay slot is treated as a
NOP.
Operation :
T:
target ← (offset15)14 || offset || 02
condition ← (GPR[rs]31 = 1)
T + 1:
if condition then
PC ← PC + target
else
NullifyCurrentInstruction
endif
Exceptions :
None
129