Encoding:

EXTEND

11110

immediate 10:5

immediate 15:11

LI

01101

rx

0

000

iummediate 4:0

5

6

5

5

3

3

5

Format:

LI rx, immediate

MIPS16e

Load Immediate (Extended)

Purpose:

Load Immediate (Extended)

To load a constant into a GPR.

Description:

GPR[rx] = immediate

The 16-bit immediate is zero-extended and then loaded into GPR rx.

Restrictions:

None

Operation:

GPR[Xlat(rx)] = zero_extend(immediate)

Exceptions:

None