gnupic: how to init EEPROM internal memory ?
Subject:
how to init EEPROM internal memory ?
From:
Nicaise J-Ch ####@####.####
Date:
23 Oct 2004 16:29:40 +0100
Message-Id: <20041023153117.GA19940@teledisnet.be>
hello all (sorry for my poor english)
I would like to init some eeprom register directely in my .asm file
for do this I think I must do something like that :
org 0x4100
DE 0,0
DE 0,0,0,1
DE 0,0,0,0,0
but the result is :
:10820000000000000000000000000100000000006D
:0682100000000000000068
:00000001FF
so as you can see the location is not correct :
it must be like this :
:1042000000000000000000000000010000000000AD
:10421000000000000000000000000000000000009E
:00000001FF
I suppose the problem come from "org 0x4100"
so what is the correct location for the eeprom memory for PIC16F876 ?
thank's for your answer !
Dorian.
--
"The ultimate measure of a man is not where he stands in moments of comfort and
convenience,but where he stands at times of challenge and controversy.
Martin Luther King, Jr."
"Voici mon secret il est tres simple : on ne voit bien qu'avec le coeur
l'essentiel est invisible pour les yeux ! (LE PETIT PRINCE )"
"First they ignore you, Then they laugh at you, Then they fight you,
Then you win." Gandhi
PGP key_id 0x05001CEF (which can be found on any PGP keys server)
[Content type application/pgp-signature not shown. Download]