8 shift registers and beyond

YOu should check the SPI bus so you can use the build in hardware.

Alternative is to use one of my libraries which are optimized versions of the normal shiftIN/Out