Added support for 8 bits mode using shift registers.