TI,不是T1。按照下面的改改试试:……SBUF=0x76;while(T1!=0); //改为:while(TI==0);T1=0; //改为:TI=0;SBUF=0X77;while(T1!=0); //改为:while(TI==0);T1=0; //改为:TI=0;while(1); //这里加上一行