Question: 3. Show that the negative 0 is the same bit pattern as positive 0 . I.e., show that the 16 -bit 2 's complement of

 3. Show that the negative 0 is the same bit pattern

3. Show that the negative 0 is the same bit pattern as positive 0 . I.e., show that the 16 -bit 2 's complement of 0 is all zeros 4. Convert the following binary numbers to decimal and to hexadecimal: 5. Convert the following binary numbers to decimal, 1st assuming they are 8-bit unsigned values, and then assuming they are 8-bit signed values. Subtract each value from 256 to verify that subtracting from 256 gives you the 2 's complement. 11100110 unsigned: 230 128+64+32+0+0+4+2+0 signed 8-bit: 26 left-most bit is 1 , so as a signed number, it must be negative. Find it's 2's complement (flip bits and increment): 00011001+1=00011010 get it's value: 0+0+0+16+8+0+2+0=26 So this is the bit pattern for -26 (as an 8-bit \#) 25626=230, which tells you that the 2's complement of 26 (which represents 26) is the same as the unsigned bit pattern for 230. Subtracting from 2N is the other way of making the 2 's complement 11111001 (the negative) of a number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!