07-23-2010, 02:59 AM
A serial-in/parallel-out shift register is similar to the serial-in/ serial-out shift register in that it shifts data into internal storage elements and shifts data out at the serial-out, data-out, pin. It is different in that it makes all the internal stages available as outputs. Therefore, a serial-in/parallel-out shift register converts data from serial format to parallel format. If four data bits are shifted in by four clock pulses via a single wire at data-in, below, the data becomes available simultaneously on the four Outputs QA to QD after the fourth clock pulse.
Code:
Second question reference is taken from
[url=http://www.allaboutcircuits.com/vol_4/chpt_12/4.html]Serial-in, parallel-out shift register : SHIFT REGISTERS[/url]