> > However, this leaves a big mess in the > > source code that might cause major headaches in the future when the code is > > modified, ported, or whatever. > > Not if you make it a habit of using this method. I have used this method for the > past 5 years and never had a problem when porting the code up or down. That's your business as long as you are the only one to ever deal with the source code. This practise could lead to major headaches and maintenance cost when someone else has to pick up your code after you've left the project, got run over by a truck, or whatever. Do you also use the bank 0 aliases for all the other special function registers that are in other banks? Many of them don't map to intuitive registers that might "remind" someone of the true intended target register. What about your own variables in banks 1 and up? ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@cognivis.com, http://www.cognivis.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu