29.1.1 __builtin_bcc0 Built-in Function

Description

Clear the non-zero bits present in the clr mask from the coprocessor 0 register specified by rn (register number) and sel (register bank).

Prototype

unsigned int __builtin_bcc0(rn, sel, clr);

Argument

rn : cp0 register number
sel : cp0 select (bank) number
clr : 32-bit mask to clear

Return Value

unsigned int : the original CP register value

Assembler Operator/Machine Instruction

mfc0 t, cs
nor d, s, t
and d, s, j 
mtc0 s, cd

Error Messages

None.