Someone posted a long look-up table example for a few days, just result the piclist search engine. Beside of this: Which chip are you using? If it is a 16f87x, you can read out the code memory directly, and together with the "da" directive of MPASM it is very simple to store ASCII data in backed byte format, which makes your code much smaller! :) Best Regards, Thorsten. -- _____________________________________________ _/ uC-Stuff for MIDI at http://go.to/uCApps /_______ / Music is aesthetisized frequency (Klaus Schulze) / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~