16000 characters? 0x3fff=14 bits the upper byte is truncated to 0x3F how you store the first 7 then the next seven? using what code. please enlighten me regards soon lee ----- Original Message ----- From: Thorsten Klose To: Sent: Monday, April 17, 2000 7:51 AM Subject: Re: Store data in rom (f877) > Alan B Pearce wrote: > > It was while I was writing the piece that I realised the new 16F877 is limited > > to 256 bytes EEPROM as well, which is why I suggested using the EEPROM for most > > of the table, then when you get an overflow incrementing the EEPROM address > > counter, go on to use RETLW method. This would be alright for up to 512 bytes of > > data. > > Why are you using the data EEPROM on 16F877? Just take the program memory, > you can read it out like the data EEPROM and there is enough space for > up to 16000 7-Bit characters... see my example above. > > Best Regards, Thorsten. > > -- > _____________________________________________ > _/ uC-Stuff for MIDI at http://go.to/uCApps /_______ > / Music is aesthetisized frequency (Klaus Schulze) / > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~