Entries in a look-up table
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
So will this work?? Obviously I will have set PCLATH
to the correct block for the table data itself.
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
See also: www.piclist.com/techref/microchip/memory.htm?key=table
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the