#includereg52.h#includeintrins.h#defineuintunsignedint#defineucharunsignedcharsbitbeep=P1^5;voiddelay(uint);uchara,b,c;ucharcodetable[]={0,0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};voidmain(){while(1){for(b=2;b0;b--){for(c=1;c9;c++){P2=table[c];delay(453);}}P2=0xff;delay(200);for(b=2;b0;b--){for(c=8;c0;c--){//a=_cror_(a,1);P2=table[c];delay(453);}}for(b=2;b0;b--){delay(453);P2=0xff;delay(200);P2=0x7e;delay(453);P2=0xbd;delay(453);P2=0xdb;delay(453);P2=0xe7;}for(b=2;b0;b--){delay(453);P2=0xff;delay(200);P2=0xe7;delay(453);P2=0xdb;delay(453);P2=0xbd;delay(453);P2=0x7e;delay(453);}}}voiddelay(uintz){uintx,y;for(x=100;x0;x--)for(y=z;y0;y--);}