新手求教:这个程序怎么会出错啊
#include "AT89X51.h"#include "intrins.h"
void main(void)
{
TCON=0x01;
IE = 0x81;
P2=0x0f;
while(1)
{P2=~P2;
delay(100);
}
}
int0() interrupt 0
{unsigned char s1=0xfe,i;
for (i=0;i<16;i++)
{
p2=s1;
s1=_corl_(s1,1);
delay(100);}
p2=0x0f;
}