#include void main (void) { unsigned char mybyte; TMOD=0x20; TH1=0xFA; SCON=0x50; TR1=1; while(1) { while(RI==0); mybyte=SBUF; P1=mybyte; RI=0; } }