Shift register

Thread Starter

Alice24

Joined Apr 22, 2011
46
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?
 

MrChips

Joined Oct 2, 2009
30,810
Translate: serial introduction = serial input

Your register is 8 bits.
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.
 

Thread Starter

Alice24

Joined Apr 22, 2011
46
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! :)
 
Top