BEQZC rt, address # when rt andaddressarein range |
nanoMIPS |
Branch if Equal to Zero, Compact |
Branch if Equal to Zero, Compact. PC relative branch to address if register $rt equals zero.
nanoMIPS
100110 |
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.