APPENDIX A MIPS III INSTRUCTION SET DETAILS
Preliminary User’s Manual S15543EJ1V0UM
587
XORI
Exclusive OR Immediate
XORI
rs
XORI
0 0 1 1 1 0
rt immediate
31 26 25 21 20 16 15 0
655 16
Format:
XORI rt, rs, immediate
Description:
The 16-bit
immediate
is zero-extended and combined with the contents of general register
rs
in a bit-wise logical
exclusive OR operation.
The result is placed into general register
rt.
Operation:
32 T:
GPR [rt] ← GPR [rs] xor (0
16
|| immediate)
64 T:
GPR [rt] ← GPR [rs] xor (0
48
|| immediate)
Exceptions:
None