I should also point out that this is for an 18F PIC. Quoting PICdude : > On the subject of tables in C18, as I've been tinkering with C > (instead of asm) for PICs, I'm going to get into tables soon. > > Off the top of my head right now, I can see how I'd use TBLPTRU/H/L to > point to the correct data, but not sure yet how data is declared and > held in memory efficiently, and how these will be 256-byte boundary > aligned (though I would think that that's not necessary here). These > will be pre-determined values. > > Anyone care to share an example of how this is done with C18? AFAIK, > the mchip app notes all show this in assembly. > > Cheers, > -Neil. > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .