; R0L contains byte to swap bit-endianness of. ; R0H will contain the swapped byte. lsr R0 ; b(n)->b(n-1), b0->Carry lsl R1 ; Carry->b0, b(n)->b(n+1} lsr R0 lsl R1 lsr R0 lsl R1 lsr R0 lsl R1 lsr R0 lsl R1 lsr R0 lsl R1 lsr R0 lsl R1 lsr R0 lsl R1