BEQIC rt, u, address |
nanoMIPS |
Branch if Equal to Immediate, Compact |
Branch if Equal to Immediate, Compact. PC relative branch to address if value of register$rt is equal to immediate value u.
nanoMIPS
110010 |
rt |
000 |
u |
s[10:1] |
s[11] |
6 |
5 |
3 |
7 |
10 |
1 |
offset = sign_extend(s, from_nbits=12) address = effective_address(CPU.next_pc, offset) if GPR[rt] == u: CPU.next_pc = address
None.