>I want to change b7 b6 b5 b4 b3 b2 b1 b0 to b0 b1 b2 b3 b4 b5 b6 b7. > >Quickest & most code efficient?? How about this... (John Payson) movwf source btfsc source,0 xorlw h'41' btfsc source,6 xorlw h'41' btfsc source,1 xorlw h'22' btfsc source,5 xorlw h'22' btfsc source,2 xorlw h'14' btfsc source,4 xorlw h'14' Why waste time on lookup tables? Each access is a 6 cycle hit. .lo ===== __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com