On Fri, 29 Oct 1999 15:10:14 -0700 Keith Causey writes: >This would probably waste too much port space but you could reverse >the 'w' >register in two instructions if you wired two ports together like >this: >RA0->RB7 >RA1->RB6 >RA2->RB5 >RA3->RB4 >RA4->RB3 >RA5->RB2 >RA6->RB1 >RA7->RB0 >and executed the code sequence >mov RA,W >mov w,RB Aha! A hardware solution! Just like adding a multiplier to the chip! Here's bit reverser hardware... I normally am squeezing everything I can out of I/O though... Harold Harold Hallikainen harold@hallikainen.com Hallikainen & Friends, Inc. See the FCC Rules at http://hallikainen.com/FccRules and comments filed in LPFM proceeding at http://hallikainen.com/lpfm ___________________________________________________________________ Get the Internet just the way you want it. Free software, free e-mail, and free Internet access for a month! Try Juno Web: http://dl.www.juno.com/dynoget/tagj.