> > Thanks Tony, What I think I'm after is a hybrid of both !! i.e. store >the table in > > EEDATA, and write it into program memory as the Micro boots up. > >I gotta ask... why would you do this? If you ned to change the table >without reprogramming the PIC, I would assume you're downloading the data >from somewhere or altering it from time to time as you go. Why not just >store it in FLASH program space instead of EEPROM to start with? I wondered this myself. The only reason I could come up with is to have the EE data change via some sort of SPI or I2C comms into the PIC. But, if you are just "storing" a table in ROM from the get-go, then it's probably simpler to use the program memory space. Note that if you use a table of 196 bytes, you'll probably end up overrunning a page, so you'll have to do one of 2 things: 1) Locate the table (if you're using a F876, you might have room to spare) at the beginning of a page. Then you'll not have to worry about paging problems (well, you'll still have to worry about those 2k page problems). 2) Add an automatic PCLATH adjustment before the table. But, this will drive the number of additional instructions up to 8 (not including the call or return). --Andrew _________________________________________________________________ Join the world s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics