Roy J. Gromlich wrote... >...The code I have uses the command, which has two forms in the 18F >MPASM - your code does it differently. I will compare your code with this >old one - that will probably tell me what the problems are. I'll let you >know how it works out. The PIC16's RLF instruction is equivalent to the PIC18's RLCF instruction; in both, the operand is rotated left through the carry bit. RLCF is the one you want for the code I posted, not RLNCF. Dave D. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.