Assembly:

BBNEZC rt, bit, address

nanoMIPS, not available in NMS

Branch if Bit Not Equal to Zero, Compact

Purpose:

Branch if Bit Not Equal to Zero, Compact. PC relative branch to address if bit bit of register$rt is not equal to zero.

Availability:

nanoMIPS, not available in NMS

Format:

110010

rt

101

x

bit

s[10:1]

s[11]

6

5

3

1

6

10

1

offset = sign_extend(s, from_nbits=12)

Operation:

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

Exceptions:

Reserved Instruction on NMS cores.