Appendix A
A-178 MIPS R4000 Microprocessor User's Manual
Format:
TNEI rs, immediate
Description:
The 16-bit immediate is sign-extended and compared to the contents of
general register rs. If the contents of general register rs are not equal to the
sign-extended immediate, a trap exception occurs.
Operation:
Exceptions:
Trap exception
TNEI
Trap If Not Equal Immediate
31 2526 2021 1516
REGIMM rs
655
immediateTNEI
16
0
0 0 0 0 0 1 0 1 1 1 0
TNEI
32 T: if GPR[rs] ≠ (immediate
15
)
16
|| immediate
15...0
then
TrapException
endif
64 T: if GPR[rs] ≠ (immediate
15
)
48
|| immediate
15...0
then
TrapException
endif