With the Parallax assembler it's as follows; EEORG address Set data eeprom origin to address EEDATA data,data... Preload data eeprom with data Sample code; ;**************************** ; EEPROM ;**************************** EEORG DATA_EEPROM ; =0 on '84 EEDATA 0AH,3,'T' ; sample data ORG 0 SYS_CODE DS 1 ; define & allocate variables UNIT_CODE DS 1 REV DS 1 Hope this helps... Steve -----Original Message----- From: Edward Cardew To: PICLIST@MITVMA.MIT.EDU Date: Thursday, August 07, 1997 5:44 AM Subject: How to program EEPROM on 16C84 >I'm sure I've seen something along this line before, but where ... >Oh well, here goes: >How do I program the EEPROM of a 16C84 or 16F84 straight from the source >code. What assembler directives (such as DE) do I use and at what ORG ? >I use MPASM v1.5 and picser.exe (in case it is different for other >environments). > >Edward Cardew >http://www.ltnb.lu/~edward for Remote control RC5 decoder using interrupts >on a 16C84. >