Encoding:

RR

11101

rx

ry

CMP

01010

5

3

3

5

Format:

CMP rx, ry

MIPS16e

Compare

Purpose:

Compare

To compare the contents of two GPRs.

Description:

T = GPR[rx] XOR GPR[ry]

The contents of GPR ry are Exclusive-ORed with the contents of GPR rx. The result is placed into GPR 24.

Restrictions:

None

Operation:

GPR[24] = GPR[Xlat(ry)] xor GPR[Xlat(rx)]

Exceptions:

None