gnupic: How to use idata ?
Subject:
How to use idata ?
From:
feqin fan ####@####.####
Date:
20 Dec 2012 12:29:52 -0000
Message-Id: <CAOfAq_ozF=zn3YSQmhk8a3KaLVEDbRf8iNjBNj8W0-K6eG6iDw@mail.gmail.com>
Hello,guys.
write this code:
init_data idata
db 0x12
db 0x13, 0x14, 0x15
code
movf (init_data + 2), W
end
this can not work, the data of init_data is in flash, I have look up the
HEX file,there is no code get the data from flash to ram before the value
is used( movf (init_data + 2), W ).
Why there is no code..??
thanks.
--
*live long and prosper..*