REGIMM 000001 |
rs |
TEQI 01100 |
immediate |
6 |
5 |
5 |
16 |
TEQI rs, immediate |
MIPS32, removed in Release 6 |
Trap if Equal Immediate |
Trap if Equal Immediate
To compare a GPR to a constant and do a conditional trap.
if GPR[rs] = immediate then Trap
Compare the contents of GPR rs and the 16-bit signed immediate as signed integers. If GPR rs is equal to immediate, then take a Trap exception.
None
This instruction has been removed in Release 6.
if GPR[rs] = sign_extend(immediate) then SignalException(Trap) endif
Trap