Assembly:

BBEQZC rt, bit, address

nanoMIPS, not available in NMS

Branch if Bit Equals Zero, Compact

Purpose:

Branch if Bit Equals Zero, Compact. PC relative branch to address if bit bit of register $rtis equal to zero.

Availability:

nanoMIPS, not available in NMS

Format:

110010

rt

001

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 == 0:
    CPU.next_pc = address

Exceptions:

Reserved Instruction on NMS cores.