piclist 2008\07\05\101558a >
Thread: Code packing
www.piclist.com/techref/microchip/devices.htm?key=pic
face picon face BY : Jinx email (remove spam text)



> > EE_BASE          EQU  H'F00000'
>
> If you get used to EE_START instead of EE_BASE, then your code
> will be just a little more compatible with my PIC development environ-
> ment should you ever decide to use it, or possibly copy snippets of it

Maybe I will (see other post)

> > Seems that
> > DE is lumped in with other, 16-bit, data directives which have to
> > be even addresses, even though EE can be written to an odd
> > address, being 8-bit
>
> That's why I keep saying to use DB in CODE_PACK sections.  One
> DB starts where the previous left off regardless of whether it is at a
> odd address or not

It wasn't that so much. Rather that Program Memory is 16-bit and
EEPROM is 8-bit. So why shouldn't the specific DE directive be able
to point to either odd and even addresses (in absolute mode at least) ?

<00a301c8dea9$79c2ada0$89aafea9@ivp1> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Code packing

month overview.

new search...