Searching \ for '[PIC]: Storing Tables in Program Memory with Hi-Te' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=table
Search entire site for: 'Storing Tables in Program Memory with Hi-Te'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Storing Tables in Program Memory with Hi-Te'
2002\02\01@225332 by Donovan Parks

flavicon
face
Hello,

Is it possible to store a table of values in program memory with Hi-Tech C?
I wish to use table driven CRC8, but can't afford to take up 256 bytes of
data memory.  Does anyone know how this can be done?  Can anyone recommend a
source that discuss 'tricks' like this for the Hi-Tech C compiler?

Regards,
Donovan

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2002\02\04@135709 by Dipperstein, Michael

face picon face
> From: Donovan Parks [spam_OUTdparksTakeThisOuTspamUVIC.CA]
>
> Hello,
>
> Is it possible to store a table of values in program memory
> with Hi-Tech C?
> I wish to use table driven CRC8, but can't afford to take up
> 256 bytes of
> data memory.  Does anyone know how this can be done?  Can
> anyone recommend a
> source that discuss 'tricks' like this for the Hi-Tech C compiler?
>
> Regards,
> Donovan

If you declare your table as const array, it should be placed in ROM without you
having to do anything.

-Mike

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...