APPENDIX A MIPS III INSTRUCTION SET DETAILS
530
Preliminary User’s Manual S15543EJ1V0UM
MTC0
Move To Coprocessor0
MTC0
0
0 0 0 0 0 0 0 0 0 0 0
COP0
0 1 0 0 0 0
31 26 25 11 1016 15 0
6 1155
rt rd
MT
0 0 1 0 0
5
21 20
Format:
MTC0 rt, rd
Description:
The contents of general register
rt
are loaded into coprocessor register
rd
of coprocessor 0.
Because the state of the virtual address translation system may be altered by this instruction, the operation of load
instructions, store instructions, and TLB operations immediately prior to and after this instruction are undefined.
When using a register used by the MTC0 by means of instructions before and after it, refer to APPENDIX B
VR4120A COPROCESSOR 0 HAZARDS and place the instructions in the appropriate location.
Operation:
32, 64 T:
data ← GPR [rt]
CPR [0, rd] ← data
T+1:
Exceptions:
Coprocessor unusable exception (in 64-bit/32-bit user and supervisor mode if CP0 not enabled)