Question: Consider the following operation on a binary word. Start with the least significant bit. Copy all bits that are 0 until the first 1 bit
Consider the following operation on a binary word. Start with the least significant bit. Copy all bits that are 0 until the first 1 bit is reached and copy that bit, too. Then take the complement of each bit thereafter. What is the result? You can try out some numbers at an online calculator like this one: http://www.exploringbinary.com/twos-complement-converter/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
