Jamaica Sugaring microcontroller serial port interruption problem

Jamaica Sugaring microcontroller serial port interruption problem

The program is very simple. The purpose is to send a data to the serial port debugging assistant, and the microcontroller receives JM Escorts to the data Jamaicans Sugardaddy and then return the data to the serial port debugging assistant. The French formula is as follows,
#include
unsigned char flag,a;
void init()                                                                                                                                                                       to be initialized
{JM Escorts
TMOD=0x20;
TH1=0xfd;
TJamaicans EscortL1=0xfd;
TR1=1;
ET1=1;
SM1=1;
SM0=0;
REN=1;
EA=1;
ES=1;
}
main()                                                                                                                                                                              >JM EscortsFrenchJamaica Sugar
{ init();
while(Jamaica Sugar Daddy1)
{
if(flag==1)
{
flag=0;
ES= 0;
Jamaica Sugar SBUF=aJamaica Sugar Daddy;
while(!ti);
TI=0; JM Escorts
ES=1;
}
}
}
void ser() interrupt 4                     //Serial port interrupt service subroutine
{ Jamaica SugarRI=0;
a=SBUF;
flag=1;
}
The program is It can run normally, but I want to add timer interruption, so in the red part of the program Jamaica Sugar Daddy‘s statement ET1=1, program Jamaicans Sugardaddy cannot run. After sending the data, the serial port debugging assistant did not receive the data. Please answer Jamaica Sugar DaddyWhat is the reason, IJamaicans Escortif Jamaicans Sugardaddy How to add timer interruption, thank you for your advice!

donJamaica SugargyumiJamaicans Escortn Issued on 2013-10-24 10:25
“`TIJamaica SugarM1 is provided in asynchronous serial port tasksJamaica Sugar is based on time, how can it beConnect to the interruption system. It obviously affects the serial port task Jamaica Sugar. …
Oh, Jamaica Sugar Daddy can I join the interrupt through timer 0? Thanks for the advice!

624542931 Issued on 2013-1Jamaicans Escort0-24 1JM Escorts0:27
Oh, Jamaica Sugar then I clicked Jamaica Sugar Daddy Is it possible to cancel participation with timer 0? Thanks for the advice!
Yes. But Jamaicans Sugardaddy you have to consider the interrupt nesting comprehensively. The T0 interrupt default can interrupt the serial port interrupt.

Abort nesting? Is it abort priority? Are you saying JM Escorts‘s passing priority storage JM EscortsServer IP (B8H) setting priority? Thanks for the advice! ! !