APPENDIX A MIPS III INSTRUCTION SET DETAILS
584 Preliminary Users Manual S15543EJ1V0UM
TNE Trap If Not Equal TNE
rs
SPECIAL
0 0 0 0 0 0 rt code
31 26 25 21 20 16 15 0
655 10

TNE

1 1 0 1 1 0

6
65
Format:
TNE rs, rt
Description:
The contents of general register
rt
are compared to general register
rs
. If the contents of general register
rs
are not
equal to the contents of general register
rt
, a trap exception occurs.
The code field is available for use as software parameters, but is retrieved by the exception handler only by loading
the contents of the memory word containing the instruction.
Operation:
32, 64 T: if GPR [rs] GPR [rt] then
TrapException
endif
Exceptions:
Trap exception