by the way, this is the code for a 16f684

;LCD test Program

; Set LCD Data port
DEFINE LCD_DREG PORTC
; Set starting Data BIT (0 OR 4) IF 4-BIT bus
DEFINE LCD_DBIT 4
; Set LCD Register Select port
DEFINE LCD_RSREG PORTC
; Set LCD Register Select BIT
DEFINE LCD_RSBIT 0
; Set LCD Enable port
DEFINE LCD_EREG PORTC
; Set LCD Enable BIT
DEFINE LCD_EBIT 1
; Set LCD bus size (4 OR 8 bits)
DEFINE LCD_BITS 4
; Set number of lines ON LCD
DEFINE LCD_LINES 4
;
DEFINE LCD_COMMANDUS 2000
; Set Data delay time in us
DEFINE LCD_DATAUS 50


TRISA = 0
TRISC = 0

cmcon0 = 7
ansel = 0


loop:
Pause 1500
LCDOut $FE,1,"Hello" ; Clear display AND show “Hello”
LCDOut $FE,$C0,"World" ; Jump TO second line AND show “World”
GoTo loop