EasyManua.ls Logo

Mips Technologies R4000 - Page 632

Mips Technologies R4000
754 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A
A-164 MIPS R4000 Microprocessor User's Manual
Format:
TEQI 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 equal to the
sign-extended immediate, a trap exception occurs.
Operation:
Exceptions:
Trap exception
TEQI
Trap If Equal Immediate
31 2526 2021 1516
REGIMM rs
655
immediateTEQI
16
0
0 0 0 0 0 1 0 1 1 0 0
TEQI
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

Table of Contents