$ 0 0 okay, thank you for your response. can i write that following way? while (!(UCB0IFG&UCRXIFG)) ; //hold until receive finish