I know we've spent enough time on this already, but I just wanted to point out that people who may be learning the language and becoming familiar with PICs might be tempted to look at the Microchip datasheets for help. Moreover, we continuously tell people to CHECK THE DATASHEETS when they ask questions which may be answered by doing so. Many of the datasheets have an Instruction Set Summary, which includes examples of usage. For the instruction COMF, from the 16F84 datasheet: Example: COMF REG1,0 Description: The contents of register f are comple-mented. If d is 0 the result is stored in W. If d is 1 the result is stored back in register f . Before Instruction REG1 = 0x13 After Instruction REG1 = 0x13 W =0xEC Note that the datashet uses "0" and gives the example on the status of W after the instruction. Not only that, but it says nothing of using the mnemonics "W" or "F" as the destination. I hardly think that someone using this syntax deserves to be "penalized" for doing so. By this I mean that someone looking for advice, assistance, or information on how to improve his program's success should not be turned away by some of the better and more experienced programmers on this list simply for using information obtained from the Microchip datasheets. That doesn't show these people how to improve their skills, that just shows the arrogance of others. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.