Never mind my challenge, I should have known Dmitry had it covered: ; Input X = abcdefgh , Output X = hgfedcba ; Written by Dmitry A. Kiryashov 2000 ; 12 clocks/words reverse8bit: swapf X,W ;efghabcd xorwf X,W ;efghabcd ;abcdefgh andlw 0x66 ;.fg..bc. ;.bc..fg. xorwf X,F ;afgdebch ; rrf X,W rrf X,F ;hafgdebc ; andlw 0x55 ;.a.g.e.c addwf X,F ;h.f.d.b. ;a.g.e.c. rrf X,F ;.h.f.d.b ;.a.g.e.c addwf X,F ;ahgfedcb ; rlf X,W rlf X,F ;hgfedcba ;it can be replaced ;with rlf X,W ;if necessary... _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads