166
Format:
blez 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. The contents of general register
rs
are
compared to zero. If the contents of general register
rs
have the sign bit set, or are equal to zero,
then the program branches to the target address, with a delay of one instruction.
Since the RSP program counter is only 12 bits, only 12 bits of the calculated address are used.
Operation:
Exceptions:
None
BLEZ
Branch on Less Than
31
25
26
20
21
15
16
0
BLEZ
rs
0
offset
6
5
5
16
Or Equal To Zero
0 0 0 1 1 0
0 0 0 0 0
BLEZ
T:
target
(offset
15
)
14
|| offset || 0
2
T+1: if condition then
PC
11...0
PC
11...0
+ target
11...0
endif
condition
(GPR[rs]
31
= 1) or (GPR[rs] = 0
32
)
Summary of Contents for Ultra64
Page 2: ...2 ...
Page 10: ...10 ...
Page 12: ...12 Figure 6 2 buildtask Operation 137 ...
Page 14: ...14 ...
Page 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Page 104: ...104 RSP Coprocessor 0 ...
Page 150: ...150 Advanced Information ...
Page 155: ...Revision 1 0 155 ...
Page 248: ...248 Exceptions None ...
Page 251: ...Revision 1 0 251 Exceptions None ...
Page 254: ...254 Exceptions None ...
Page 257: ...Revision 1 0 257 Exceptions None ...
Page 293: ...Revision 1 0 293 Exceptions None ...
Page 316: ...316 Exceptions None ...