BC address |
nanoMIPS |
Branch, Compact |
Branch, Compact. Unconditional PC relative branch to address.
nanoMIPS
001010 |
0 |
s[24:1] |
s[25] |
6 |
1 |
24 |
1 |
offset = sign_extend(s, from_nbits=26) address = effective_address(CPU.next_pc, offset)
000110 |
s[9:1] |
s[10] |
6 |
9 |
1 |
offset = sign_extend(s, from_nbits=11) address = effective_address(CPU.next_pc, offset)
CPU.next_pc = address
None.