Assembly:

TEQ rs, rt, code

nanoMIPS, not available in NMS

Trap if Equal

Purpose:

Trap if Equal. Cause a Trap exception if registers $rs and $rt are equal.

Availability:

nanoMIPS, not available in NMS

Format:

001000

rt

rs

code

0

0000000

000

6

5

5

5

1

7

3

Operation:

if C0.Config5.NMS == 1:
    raise exception('RI')
if GPR[rs] == GPR[rt]:
    raise exception('TRAP')

Exceptions:

Trap.