Assembly:

BLTC rs, rt, address

nanoMIPS

Branch if Less Than, Compact

Purpose:

Branch if Less Than, Compact. PC relative branch to address if signed register $rs is lessthan signed register $rt.

Availability:

nanoMIPS

Format:

101010

rt

rs

10

s[13:1]

s[14]

6

5

5

2

13

1

Operation:

offset = sign_extend(s, from_nbits=15)
address = effective_address(CPU.next_pc, offset)
if GPR[rs] < GPR[rt]:
    CPU.next_pc = address

Exceptions:

None.