35.3.2.4. INTEGER LOGICAL ON MIPS
+------------------------------+
| Len Value |
| 6 0 |
| 5 rs |
| 5 rt |
| 5 rd |
| 5 0 |
| 5 xx |
+------------------------------+
Command xx
AND rd,rs,rt 10 0100 And
rd <- rs AND rt
NOR rd,rs,rt 10 0111 Not or
rd <- rs NOR rt
OR rd,rs,rt 10 0101 Or
rd <- rs OR rt
XOR rd,rs,rt 10 0110 Xor
rd <- rs XOR rt
+------------------------+
| Len Value |
| 6 xx |
| 5 rs |
| 5 rt |
| 16 immm |
+------------------------+
Command xx
ANDI rt,rs,imm 00 1100 And Immediate
rt <- rs AND zero_ext(immediate)
ORI rt,rs,imm 00 1101 Or Immediate
rt <- rs OR zero_ext(immediate)
XORI rt,rs,imm 00 1110 Xor Immediate
rt <- rs XOR zero_ext(imm)
// ----------------------------------------------------------------------
Index Prev Next