Also it's good that you have auto incremental table pointers, so you can save time and programming difficulty with table read operations. Tamas On Fri, Jun 20, 2008 at 9:35 AM, Jinx wrote: > > I just use table reads on the 18F series - you can get two bytes > > of data in the same space as a RETLW instruction and using the > > TABLTRU/H/L registers makes it nice and easy to read long > > strings > > I think you're probably right. Had a quick play around and all > that messing with PCL isn't really worth it. Plus, as you say, a > table is much more efficient space-wise. It's what I do on other > 18F projects with 100+ character AT strings > > It would be nice though to have a generic macro that could call a > target RETLW routine by name, test/adjust PCL and pass W back > to the CALL routine. Maybe another day ..... > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Rudonix DoubleSaver http://www.rudonix.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist