BNEIC rt, u, address |
nanoMIPS |
Branch if Not Equal to Immediate, Compact |
Branch if Not Equal to Immediate, Compact. PC relative branch to address if register $rt isnot equal to immediate u.
nanoMIPS
|
110010 |
rt |
100 |
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.