>Also, while it would be nice to have some sort of type checking >on bit number symbols, let's no loose sight of the fact that >these kinds of errors are quite rare. I've written tens of >thousands of lines of PIC assembler of dozens of projects, and I >have no recollection of ever using a named bit with the wrong >special function register. I have not managed to make that mistake yet either, but in the process of debugging a portion, some reasonable time after writing it, and having been sidetracked into other hardware issues, have been through the loop of being certain I have the correct bit name, but not sure if the register is really the correct one, and had to double check to make sure. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads