#include<reg52.h>
#define uchar unsigned char
sbit P3_4=P3^4;
//code uchar tab[10]={0x40,0x79,0x24,0x30,0x19,0x12,0x02,0x78,0x00,0x10,};
//code uchar tab[10]={0x 3f ,0x06,0x5b,0x 4f ,0x66,0x6d,0x7d,0x07,0x 7f ,0x 6f ,};
code uchar tab[10]={0xbf,0x86,0xdb,0xcf,0x66,0xed,0xfd,0x87,0xff,0xef,};
uchar sz[5];
int qw,bw,sw,gw,a,b,c;
void disp(void)
{
for(c=3;c>=0;c--)
{
SBUF=tab[sz[c]];
while(!TI);
TI=0;
}
}
void scjs(void)interrupt 3
{
TH1=0X 3C ;