29.1.6 __builtin_mfc0 Built-in Function
Description
Return the value in a coprocessor 0 register specified by rn
(register
number) and sel
(register bank). The sel
argument must
be zero if the coprocessor 0 does not implement register banks other than 0.
Prototype
unsigned int __builtin_mfc0(rn, sel);
Argument
rn : cp0 register number
sel : cp0 select (bank) number
Return Value
unsigned int : the coprocessor register value
Assembler Operator/Machine Instruction
MFC0 rtemp, rd, sel
where rtemp
is a temporary register allocated by the compiler, holding
the value read from the coprocessor
Error Messages
None.