>How do I reverse the bits in an 8 bit register in as few instructions as >possible? > >i.e. you start with a byte 'abcdefgh' and end up with 'hgfedcba'. > >The reason I'd like to know is that I've got my data lines to an LCD display >reversed on my PCB,, but don't want to redesgin the PCB as it is otherwise >OK. I remember similar thing happened to me, too. Text that was constant, I output to the display already reversed and for the digits I used lookup table. Josef