Tracy Smith wrote: > How about this... (John Payson) movwf source a b c d e f g h btfsc source,0 xorlw h'41' a b+h c d e f g 0 btfsc source,6 xorlw h'41' a h c d e f g b btfsc source,1 xorlw h'22' a h c+g d e f 0 b btfsc source,5 xorlw h'22' a h g d e f c b btfsc source,2 xorlw h'14' a h g d+f e 0 c b btfsc source,4 xorlw h'14' a h g f e d c b Cute, but you haven't completed the reverse - a rotate *without* carry is required. That's going to take two more cycles at least. -- Cheers, Paul B.