18F252 Base Address - Data EEPROM

Started by tfitzhome February 16, 2004

What is the base address for the Data EEPROM on the 18F252. I'm
trying to convert some code from a 16F873 and I have, in my assembly
file, code to write, at programming time, some of the Data EEPROM
values. On the 16F873, ORG 2100h puts you at the beginning of Data
EEPROM. This would be in the middle of Program memory on a 16k
memory chip. Help!!!!!!!!!

Thanks in advance

Tom Fitzsimmons




The EEPROM startaddress of the '252 is
ORG 0xf00000

But I think you are also confusing Data-memory and
Program-memory.

Kees
--- tfitzhome <> wrote:
>
> What is the base address for the Data EEPROM on the
> 18F252. I'm
> trying to convert some code from a 16F873 and I
> have, in my assembly
> file, code to write, at programming time, some of
> the Data EEPROM
> values. On the 16F873, ORG 2100h puts you at the
> beginning of Data
> EEPROM. This would be in the middle of Program
> memory on a 16k
> memory chip. Help!!!!!!!!!
>
> Thanks in advance
>
> Tom Fitzsimmons >
>


__________________________________