

main() 
{ 


PORTECFG=0x08;  //Turn on uart pin rxd0out 
SCON0 = 0x13;   //Mode 0, baud 24/12, enable receive,TI=1;RI=1; 
               // CKCON &= 0xF8; //Set stretch 0*/ 

while(1) 
{ 
TI = FALSE; 
SBUF0='B';//spi_Data; 
// for(i=0;i<1000;i++); 
while(!TI); 
} 

} 


