> I just use table reads on the 18F series Wrote a table macro, keeps the listing a bit tidier. Seems to be OK so far display macro var ;load TBLPTR with string address clrf tblptru movlw high(var) movwf tblptrh movlw low(var) movwf tblptrl tblrd*+ call get_txt endm Use as eg display calib ;retrieve characters from memory get_txt movfw tablat ;get characters until btfsc wreg,7 ;W > 0x7f (ie FF terminator) return dispw ;"print W to LCD" macro tblrd*+ bra get_txt ;data strings padded to even number of characters with FF terminator compress data "Compress",0xffff serial data "Serial port",0xffff calib data "Calibrate",0xff ;macro - display contents of W on LCD via write_d entry point dispw macro call write_d endm -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist