29.1.8 __builtin_mtc0 Built-in Function
Description
Moves the value v
to the coprocessor 0 register specified by
rn
(register number) and sel
(register bank).
Prototype
void __builtin_mtc0(rn, sel, v)
Argument
rn : cp0 register number
sel : cp0 select (bank) number
v : the value to write
Return Value
None
Assembler Operator/ Machine Instruction
MTC0 rtemp, rd, sel
where rtemp
is a temporary register allocated by the compiler, preloaded
with the value v
.
Error Messages
None.