>I am trying to rotate one byte into another, can somebody tell me if >the following is right? > > > movlw 0x08 > movwf count >loop bcf status, carry > rrf Byte1,1 > rrf Byte2,1 > decfsz count > goto loop > >Thanks, > >David David, as the whole principle of this works on the carry in the status register, I think you need a ' BCF STATUS,C ' after the ' RRF Byte2,1' instruction to clear the carry. It should work then (not tested). Brian.