Encoding:

EXTEND

11110

Imm[10:5]

Imm[15:11]

LI

01101

rx

sel = 2

Imm[4:0]

5

5

5

5

5

3

3

Format:

ORI rx, immediate

MIPS16e2

Or Immediate Extended

Purpose:

Or Immediate Extended

To do a bitwise logical OR with a constant.

Description:

 GPR[rx] = GPR[rx] OR immediate

The 16-bit immediate is zero-extended to the left and combined with the contents of GPR rx in a bitwise logical OR operation. The result is placed back into GPR rx.

Restrictions:

Unpredictable prior to MIPS16e2.

Operations:

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

Exceptions:

None