Question

In: Computer Science

Give the signed decimal value of D03 (12 bits, show work)

Give the signed decimal value of D03 (12 bits, show work)

Solutions

Expert Solution

-765

Explanation:
-------------
Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from hexadecimal to binary
Converting D03 to binary
D => 1101
0 => 0000
3 => 0011
So, in binary D03 is 110100000011

Now converting D03 to decimal
since left most bit is 1, this number is negative number.
so, follow these steps below to convert this into a decimal value.
I. first flip all the bits. Flip all 0's to 1 and all 1's to 0.
   110100000011 is flipped to 001011111100
II. Add 1 to above result
001011111100 + 1 = 001011111101
III. Now convert this result to decimal value
Converting 1011111101 to decimal
1011111101
=> 1x2^9+0x2^8+1x2^7+1x2^6+1x2^5+1x2^4+1x2^3+1x2^2+0x2^1+1x2^0
=> 1x512+0x256+1x128+1x64+1x32+1x16+1x8+1x4+0x2+1x1
=> 512+0+128+64+32+16+8+4+0+1
=> 765
Answer: -765




Related Solutions

1. Give the signed decimal value of A93 (12 bits, show work)
1. Give the signed decimal value of A93 (12 bits, show work)
10. Convert 101 1010 (seven bits) into a signed decimal (show work) 15. Give the value...
10. Convert 101 1010 (seven bits) into a signed decimal (show work) 15. Give the value of 011 1101 and C=0 with ROL (seven bits, show work) 16. Give the signed decimal value of 93A (12 bits, show work) 18. Give the binary equivalent of the decimal number of 13.57 (assume fixed point, no more than 6 bits left and right of the decimal point)
Show decimal values below in two complement binary notation with 6 bits. a) 18 b) -12
Show decimal values below in two complement binary notation with 6 bits. a) 18 b) -12
1. Complete the following table using 8-bit representation ((show your work to get credit) Decimal Signed...
1. Complete the following table using 8-bit representation ((show your work to get credit) Decimal Signed Magnitude One’s Complement Two’s Complement 30 -47 0
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary!...
Interpret these signed 8-bit sequences with each type of signed/unsigned encoding. Remember the bits are arbitrary! They can be interpreted in many different ways. C.1: Complete the following table using decimal (base-10) numbers. The first line is already completed for you bit sequence unsigned sign-magnitude 1s’ complement 2’s complement 00000101 +5 +5 +5 +5 11110001 ? ? ? ? 01010011 ? ? ? ? 10000000 ? ? ? ? 11111111 ? ? ? ?
if hexadecimal number FA16 represent a signed number in signed magnitude, what the decimal representation of...
if hexadecimal number FA16 represent a signed number in signed magnitude, what the decimal representation of that number? include the sign for that number with no spaces between the number and sign. for example -3 or +3
Add 011 0011 to 010 1100 and show the V and C bits (seven bits and...
Add 011 0011 to 010 1100 and show the V and C bits (seven bits and show work)
Add 111 0011 to 100 1100 and show the V and C bits (seven bits)
Add 111 0011 to 100 1100 and show the V and C bits (seven bits)
-PLEASE SHOW ALL WORK- For this problem, carry at least four digits after the decimal in...
-PLEASE SHOW ALL WORK- For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding. A random sample of medical files is used to estimate the proportion p of all people who have blood type B. (i) If you have no preliminary estimate for p, how many medical files should you include in a random sample in order to be 85% sure that the point estimate p̂ will be within...
a) Using Binary Signed Magnitude arithmetic, find the ‘sum’ of 5810 + (-2310). Show your work....
a) Using Binary Signed Magnitude arithmetic, find the ‘sum’ of 5810 + (-2310). Show your work. (use 8 bits) b) Using two’s complement binary arithmetic, find the sum of 45 and -16. Show your work. (use 8 bits)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT