BNEZC rt, address |
nanoMIPS |
Branch if Not Equal to Zero, Compact |
Branch if Not Equal to Zero, Compact. PC relative branch to address if register $rt is notequal to zero.
nanoMIPS
101110 |
rt3 |
s[6:1] |
s[7] |
6 |
3 |
6 |
1 |
rt = decode_gpr(rt3, 'gpr3') offset = sign_extend(s, from_nbits=8)
address = effective_address(CPU.next_pc, offset) if GPR[rt] != 0: CPU.next_pc = address
None.