Michael J. Ghormley wrote: >I would have used: > CLRW ; W = b'00000000', CARRY = ? > ADDWF W,W ; W = b'00000000', CARRY = 0 >and then done the rotate. > >Am I wrong? Did I miss something? I do the same thing to clear the Carry, and I generally use: CLRW SUBWF Anyfile,F to set it. This works since the Carry is always set (as a borrow) before a subtraction. Don't remember right now why I do it this way. I think the data sheets were a little unclear when I first read them, so I started this way, and never looked back. Jim Elm Electronics Makers of unique integrated circuits http://www.elmelectronics.com/