Encoding:

POOL16C

010001

rt

rs

AND16

0001

6

3

3

4

Format:

AND16 rt, rs

microMIPS

To do a bitwise logical AND

Purpose: And (16-bit instr size)

To do a bitwise logical AND

Description:

GPR[rt] = GPR[rs] AND GPR[rt]

The contents of GPR rs are combined with the contents of GPR rt in a bitwise logical AND operation. The result is placed into GPR rt.

Restrictions:

The 3-bit register fields can only specify GPRs $2-$7, $16, $17.

Availability and Compatibility:

This instruction has been recoded for Release 6.

Operation:

GPR[rt] = GPR[rs] and GPR[rt]

Exceptions:

None