Encoding:

ORI32

010100

rt

rs

immediate

6

5

5

16

Format:

ORI rt, rs, immediate

microMIPS

Or Immediate

Purpose:

Or Immediate

To do a bitwise logical OR with a constant.

Description:

 GPR[rt] = GPR[rs] or immediate

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

Restrictions:

None

Operations:

GPR[rt] = GPR[rs] or zero_extend(immediate)

Exceptions:

None