gnupic: How to use idata ?


Previous by date: 20 Dec 2012 12:29:52 -0000 gputils 1.0.0 Release Candidate 3, Borut Ražem
Next by date: 20 Dec 2012 12:29:52 -0000 Re:How to use idata ?, Joe Pfeiffer
Previous in thread:
Next in thread: 20 Dec 2012 12:29:52 -0000 Re: How to use idata ?, feqin fan

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..*

Previous by date: 20 Dec 2012 12:29:52 -0000 gputils 1.0.0 Release Candidate 3, Borut Ražem
Next by date: 20 Dec 2012 12:29:52 -0000 Re:How to use idata ?, Joe Pfeiffer
Previous in thread:
Next in thread: 20 Dec 2012 12:29:52 -0000 Re: How to use idata ?, feqin fan


Powered by ezmlm-browse 0.20.