162
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.
Since the RSP program counter is only 12 bits, only 12 bits of the calculated address are used.
Operation:
Exceptions:
None
BEQ
Branch On Equal
BEQ
31
25
26
20
21
15
16
0
BEQ
rs
rt
offset
6
5
5
16
0 0 0 1 0 0
T:
target
(offset
15
)
14
|| offset || 0
2
condition
(GPR[rs] = GPR[rt])
T+1: if condition then
PC
11...0
PC
11...0
+ target
11...0
endif
Содержание Ultra64
Страница 2: ...2 ...
Страница 10: ...10 ...
Страница 12: ...12 Figure 6 2 buildtask Operation 137 ...
Страница 14: ...14 ...
Страница 80: ...80 Vector Unit Instructions vmadm dres_int dres_int vconst 3 vmadn dres_frac vconst vconst 0 ...
Страница 104: ...104 RSP Coprocessor 0 ...
Страница 150: ...150 Advanced Information ...
Страница 155: ...Revision 1 0 155 ...
Страница 248: ...248 Exceptions None ...
Страница 251: ...Revision 1 0 251 Exceptions None ...
Страница 254: ...254 Exceptions None ...
Страница 257: ...Revision 1 0 257 Exceptions None ...
Страница 293: ...Revision 1 0 293 Exceptions None ...
Страница 316: ...316 Exceptions None ...