# Shift register

Discussion in 'Homework Help' started by Alice24, Apr 12, 2012.

1. ### Alice24 Thread Starter New Member

Apr 22, 2011
15
0
Hi, everyone!

I'm translating this queston from Hebrew so excuse me for any mistranslations....

"
In a shift register that acts to the right the following binary value has been loaded

10111011 (whereas LSB is the last digit at the right side)

The serial introduction is shortcircuited to the ground. Calculate the content of the shift register after 3 clock pulses being given. Write your answer in base 16."

So, the way I think about it if the value moves 3 digits to the right, the digital value within the shift register is "0111"

Which means 7 in base 16.

Is that right?

2. ### MrChips Moderator

Oct 2, 2009
12,624
3,451
Translate: serial introduction = serial input

Initial setting = 10111011
serial input = 0, will be shifted into left-hand bit (MSB),
After three right shifts = 00010111
base 16 (HEX) = 17

Edit: when discussing binary data, one should not omit leading zeros.

3. ### Alice24 Thread Starter New Member

Apr 22, 2011
15
0
Ahh... My mistake was using wiki and leading myself to believe that any shift register is 4 bits (because the example showed how a 4 bits one work). Realizing my error thanks to you I perfectly undrstand the rest. Thank you!