
while (1) 
{
  if (TI1) // whatever it is called for UART1 read and mask??
  {
    SBUF1 = 'U'; // access method
  }
}