Assembly:

BGEIC rt, u, address

nanoMIPS

Branch if Greater than or Equal to Immediate, Compact

Purpose:

Branch if Greater than or Equal to Immediate, Compact. PC relative branch to address ifsigned register value $rt is greater than or equal to immediate u.

Availability:

nanoMIPS

Format:

110010

rt

010

u

s[10:1]

s[11]

6

5

3

7

10

1

Operation:

offset = sign_extend(s, from_nbits=12)
address = effective_address(CPU.next_pc, offset)
if GPR[rt] >= u:
    CPU.next_pc = address

Exceptions:

None.