I dont see you clearing out TXIF after it has been set. Obviously it should show atleast one character on hyperterminal, but I think clearing it after it has been set would be good way to see expected results.
And are you sure you have the correct baud rate setting in both hyperterminal and in the PIC code?
hey,i am using real pic simulator.
i am when loading this program,i am getting buad rate=5000;instead of 9600..
now,please tell me where is the mistake in my program?????
Check the data sheet for baud rate calculation. There will be some standard values of SPBGR for BRGH =1(high baud rate mode).
There just confirm the baud and also the crystal you are using...
---------- Post added at 12:42 ---------- Previous post was at 12:37 ----------
Test if your ADC is working by just giving some led blinking function instead of TXREG=' '...if it is working then check baud rate selection table in data sheet and confirm every thing is ok...Still not working then check if your serial port interfacing is correct....Also check the continuity of serial port connecting wire...