gnupic: Re:How to use idata ?
Subject:
Re:How to use idata ?
From:
Joe Pfeiffer ####@####.####
Date:
20 Dec 2012 16:22:50 -0000
Message-Id: <20691.15189.128204.827287@snowball.wb.pfeifferfamily.net>
Exactly -- you have to move it yourself. I found a good discussion of
what's needed at
http://www.microchip.com/forums/m27382.aspx
feqin fan writes:
>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..*
--
Joseph J. Pfeiffer, Jr., Ph.D. http://pfeifferfamily.net/
1440 Tierra del Sol Dr 575.525.2764 (H)
Las Cruces, NM 88007 575.496.3501 (C)