APPENDIX A MIPS III INSTRUCTION SET DETAILS
Preliminary Users Manual S15543EJ1V0UM 441
ANDI And Immediate ANDI
rs

ANDI

0 0 1 1 0 0 rt immediate

31 26 25 21 20 16 15 0
655 16
Format:
ANDI 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
AND operation. The result is placed into general register
rt
.
Operation:
32 T: GPR [rt] 0 16 || (immediate and GPR [rs]15...0)
64 T: GPR [rt] 0 48 || (immediate and GPR [rs]15...0)
Exceptions:
None