When i read from the SBUF (a = SBUF),THE VALUE IS NOT GETTING TO a(during simulatuion
you are doing: a=SBUF; this means that, first of all, you are receiving a byte on RXD, right? or if you are trying in simulation then you have to do: S0IN=0xXX;(e.g. XX is 46) in the 'output' window. Doing this will send 0x46 into SBUF