BALC address |
nanoMIPS |
Branch And Link, Compact |
Branch And Link, Compact. Unconditional PC relative branch to address, placing returnaddress in register $31.
nanoMIPS
001010 |
1 |
s[24:1] |
s[25] |
6 |
1 |
24 |
1 |
offset = sign_extend(s, from_nbits=26)
001110 |
s[9:1] |
s[10] |
6 |
9 |
1 |
offset = sign_extend(s, from_nbits=11)
address = effective_address(CPU.next_pc, offset) GPR[31] = CPU.next_pc CPU.next_pc = address
None.