Hello sir,
I have used the LCD code for 16f877A. The HEX file in your example when loaded to the PIC works fine. But when I create a new project in CCS and compile the same program as yours, the hex file generaed is of 3KB (your HEX file is of 5KB) and when it is loaded, the LCD just turns on and nothing is displayed.
How come the same code when I compile gives no output. The LED program you provided works fine for me but why not LCD? Is there any special settings to be done in CCS for LCD