piclist 2001\01\18\073757a >
Thread: Entries in a look-up table
www.piclist.com/techref/microchip/memory.htm?key=table
flavicon
face BY : Roman Black email (remove spam text)



Christian Dorner wrote:
>
> > I would imagine you could have as many as would fit, minus the
> > application itself, and the overhead for the multi-page table call.
>
> Yes, you're right! It's possible to expand the table with dealing the PCLATH
> or to jump between several tables around to expand. (I use this in my
> current application to load the text for several display messages.)
>
> But you have still to care about the 256 word block for computed gotos - the
> base of (maybe) every lookup table.
>
> Please correct me if i went wrong.


Hey I want to confirm something here! :o) I am about to use
a 256 byte table for the first time (I have used smaller
ones often), and I was going to put the entire 256 words
in one block, and put the "addwf PCL,f" in the word
preceding it.

So will this work?? Obviously I will have set PCLATH
to the correct block for the table data itself.
-Roman

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


<3A66B526.19A0@ezy.net.au> 7bit

See also: www.piclist.com/techref/microchip/memory.htm?key=table
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) Entries in a look-up table

month overview.

new search...