SBUF='L'; tam1=SBUF; you can see this code,when i debug it,i was very surprised that tam1=0x00 not 0x4c.I don't know why?You can help me.
because there are two register for serial function :one read only and one write only.