Terminate the strings with the \0 character and you only need the starting address. Then make a table of defined strings ie. HELLO is the pointer to the string "Hello\0" HELLO is only one byte, and makes your code readable vs. 2 bytes per displayable character using in 16CXX type tables; A big mess vs: movf LINE1,w ;move cursor call lcd_goto ;to home movf HELLO,w ;display call disp_str ;hello string :disp_str call gets_i2c ;get and call lcd_puts ;display ... and so on Has anyone built a cheap easy serial memory programmer I can use with MPLAB? It would sure be nice to dump a hex file out to memory device using ICSP. Craig > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Wagner Lipnharski > Sent: May 4, 1999 9:32 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: Handling large tables for LCD display > > > yup, use an external serial e2prom 24C256 (32k bytes), with all the > messages stored on it. > All you have to do is just address the message, retrieve it serially and > send to the LCD. > Easy, clean and cheap. > > Wagner. > > Quentin wrote: > > > > Hi Picsters > > I am currently working on a project which display lots of text messages > > and data on a LCD display. > > I have about 20 text messages of up too 32 characters each to display. > > Some messages will also incorporate variable data (readouts). > > I use a 16C74 and 16x2 LCD and write in ASM. > > Currently, I got all the messages in tables in page 1 of the memory and > > use the standard PCLATH and CALL etc. method of calling them up when > > needed. > > The variable data I am going to read from register files using indirect > > addressing. Still working on this. > > As it is now, it works but I find using it and calling the tables very > > tedious and the coding gets a bit long at stages. Also, the tables hogs > > a lot of memory space. > > > > Anybody got a easier or better way to handle many and long messages for > > LCD display? > > > > Thanks > > Quentin > > -- > -------------------------------------------------------- > Wagner Lipnharski - UST Research Inc. - Orlando, Florida > Forum and microcontroller web site: http://www.ustr.net > Microcontrollers Survey: http://www.ustr.net/tellme.htm >