请教一下这个函数哪错了
void time0(void)interrupt XIANQU using 2; {unsigned int interruptent;
unsigned char second;
if(++interruptent==0xfa42)
{second++;
interruptent=0;
}
}