EEPROM programming

Started by pakigenius786 July 27, 2003
I have a question regarding the PIC18F2220 EEPROM programming. The
generic is that u write physical data to the EEPROM:

MOVLW <DATA>
MOVWF EEDATA

Instead of Data can I have a file register and label that data
address as the file register? is it possible. if not can i get some
ideas?

Mohammed Billoo


Hi,
 
You can use:
 
MOVFW      FILE_REG
MOVWF      EEDATA
 
Just a little something for you to note, make sure you are in the correct bank for the File_Reg and EEDATA. I wasn't and it didn't work!
 
Paul
----- Original Message -----
From: pakigenius786
To: p...@yahoogroups.com
Sent: Sunday, July 27, 2003 6:01 PM
Subject: [piclist] EEPROM programming

I have a question regarding the PIC18F2220 EEPROM programming. The
generic is that u write physical data to the EEPROM:

MOVLW    <DATA>
MOVWF    EEDATA

Instead of Data can I have a file register and label that data
address as the file register? is it possible. if not can i get some
ideas?

Mohammed Billoo


to unsubscribe, go to http://www.yahoogroups.com and follow the instructions

">Yahoo! Terms of Service.