Olin Lathrop wrote: >A far better answer is to never "manually" do bank selection in the first >place. For example, anyone who used the DBANKIF macro in STD.INS.ASPIC at >http://www.embedinc.com/pic would not need to make any source code changes >due to special function registers being moved around from chip to chip. Thanks for the pointer - this looks like a useful resource. My only concern is that these macros obscure the number of cycles taken by each operation, which can be an issue for me in some timing-sensitive areas of code. I don't mind keeping these sections under "manual control"! Thanks. -- Ian Chapman -- 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