BBNEZC rt, bit, address |
nanoMIPS, not available in NMS |
Branch if Bit Not Equal to Zero, Compact |
Branch if Bit Not Equal to Zero, Compact. PC relative branch to address if bit bit of register$rt is not equal to zero.
nanoMIPS, not available in NMS
110010 |
rt |
101 |
x |
bit |
s[10:1] |
s[11] |
6 |
5 |
3 |
1 |
6 |
10 |
1 |
offset = sign_extend(s, from_nbits=12)
if C0.Config5.NMS == 1: raise exception('RI') if bit >= 32 and not Are64BitOperationsEnabled(): raise exception('RI'); address = effective_address(CPU.next_pc, offset) testbit = (GPR[rt] >> bit) & 1 if testbit == 1: CPU.next_pc = address
Reserved Instruction on NMS cores.