BGEC rs, rt, address |
nanoMIPS |
Branch if Greater than or Equal, Compact |
Branch if Greater than or Equal, Compact. PC relative branch to address if register $rs isgreater than or equal to register $rt.
nanoMIPS
|
100010 |
rt |
rs |
10 |
s[13:1] |
s[14] |
|
6 |
5 |
5 |
2 |
13 |
1 |
offset = sign_extend(s, from_nbits=15)
address = effective_address(CPU.next_pc, offset)
if GPR[rs] >= GPR[rt]:
CPU.next_pc = address
None.