Toshiba TX39 Computer Hardware User Manual


 
Architecture
125
BLEZL Branch On Less Than Or Equal To Zero Likely BLEZL
31 26 25 21 20 16 15 0
BLEZL
010110
rs
0
00000
offset
6 5 5 16
Format :
BLEZL rs, offset
Description :
Generates a branch target address by adding the address of the instruction in the delay slot to the 16-
bit offset (that has been left-shifted two bits and sign-extended to 32 bits). If the value in general-
purpose register rs is negative or 0 (i.e., the sign bit of rs is 1 or the rs value is 0), 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:
T + 1:
target (offset
15
)
14
|| offset || 0
2
condition (GPR[rs]
31
= 1) or (GPR[rs] = 0
32
)
if condition then
PC PC + target
else
NullifyCurrentInstruction
endif
Exceptions :
None