英语翻译
main()
{
TMOD=0*20
TL1=0xe8;TH1=0xe8;
PCON=0x00;
s=o;p=o;
while(i)
{
do{dl10ms0;}while(p32==0);
TR1=0;SCON=0X40;
P0=0Xff;P1=0xff;
p26=1;p27=1;
while(l)
{
if(p32==0);
{dl10ms0;s++;s%=16;while(p32==0);
}
da=0x10;display(da,s);
if(p35==0);
{dl10ms0;while(p35==0);break;}
}
switch(s){
case0;fn00;break;
case1;fn10;break;
case2;fn20;break;
case3;fn30;break;
case4;fn40;break;
defaults=0;}
}
}