BLTC rs, rt, address |
nanoMIPS |
Branch if Less Than, Compact |
Branch if Less Than, Compact. PC relative branch to address if signed register $rs is lessthan signed register $rt.
nanoMIPS
101010 |
rt |
rs |
10 |
s[13:1] |
s[14] |
6 |
5 |
5 |
2 |
13 |
1 |
offset = sign_extend(s, from_nbits=15) address = effective_address(CPU.next_pc, offset) if GPR[rs] < GPR[rt]: CPU.next_pc = address
None.