> Why not? I would promote putting a RES near the code that needs it, not > in some central place. Because in my opinion it leads to laziness, it's like the C++ style "here we need a variable so lets just create it". And then hard to organise in which section it should be in, what will be the best to avoid to much bankings or to use overlays to be able to use less ram. Maybe I'm wrong on this but using section definitions (udata, udata_ovr, udata_acs whatever) + res all over my code feel like messy to me. Tamas On Tue, Jun 17, 2008 at 4:24 PM, Wouter van Ooijen wrote: > > Anyway, variable definitions should go to a single place not just here > and > > there in the code which makes everything messy. If there were only one > > cblock then that kind of mistakes could have been eliminated. The linker > > script is however generally a good idea and even unavoidable if the > source > > is separated into files - but even then a 'res' here and there is not a > good > > practise. > > Why not? I would promote putting a RES near the code that needs it, not > in some central place. > > -- > > Wouter van Ooijen > > -- ------------------------------------------- > Van Ooijen Technische Informatica: www.voti.nl > consultancy, development, PICmicro products > docent Hogeschool van Utrecht: www.voti.nl/hvu > > -- > 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