>Oh, and btw, my assembler, MacPIC, hasn't got the foggiest idea of what w >and f are until I define them. I have now done so, and substituted w and f >in the code so I won't look (or BE) quite as ignorant the next time. can your assembler not be persuaded to read the Microchip include files? This way all your mnemonics and register names will be singing from the same source code hymn sheet as anyone using the Microchip assembler. It is certainly worth working out how to do it if you cannot do so already, as it will mean that when changing to a different processor any new features (such as changes in the configuration word) are automatically included. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads