Question

Please show step by step What is the binary value in two's complement representation for -2310

Please show step by step

What is the binary value in two's complement representation for -2310

Homework Answers

Answer #1
If you want this in 8-bit 2's complement:
-------------------------------------------
This is negative. so, follow these steps to convert this into a 2's complement binary
Step 1:
Divide 23 successively by 2 until the quotient is 0
23/2 = 11, remainder is 1
11/2 = 5, remainder is 1
5/2 = 2, remainder is 1
2/2 = 1, remainder is 0
1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10111
Adding 3 zeros on left hand side of this number to make this of length 8
So, 23 in normal binary is 00010111
Step 2: flip all the bits. Flip all 0's to 1 and all 1's to 0.
   00010111 is flipped to 11101000
Step 3:. Add 1 to above result
11101000 + 1 = 11101001
so, -23 in 2's complement binary is 11101001


If you want this in 16-bit 2's complement:
-------------------------------------------
This is negative. so, follow these steps to convert this into a 2's complement binary
Step 1:
Divide 23 successively by 2 until the quotient is 0
23/2 = 11, remainder is 1
11/2 = 5, remainder is 1
5/2 = 2, remainder is 1
2/2 = 1, remainder is 0
1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10111
Adding 11 zeros on left hand side of this number to make this of length 16
So, 23 in normal binary is 0000000000010111
Step 2: flip all the bits. Flip all 0's to 1 and all 1's to 0.
   0000000000010111 is flipped to 1111111111101000
Step 3:. Add 1 to above result
1111111111101000 + 1 = 1111111111101001
so, -23 in 2's complement binary is 1111111111101001
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Translate the base 10 value -45 into 8-bit two's complement representation.
Translate the base 10 value -45 into 8-bit two's complement representation.
The following 5 questions use two's complement representation. You MUST use 5 (five) bit binary. (ex....
The following 5 questions use two's complement representation. You MUST use 5 (five) bit binary. (ex. 000012) DO NOT Extend beyond 5 bits. A = +13 B = +4 C = -6 a.) A - B = _______________ 2        b.) A - B results in overflow. true or false? c.)C + A = _____________ 2 d.)C + A results in overflow. true or false? e.) C - A = ______________________2 f.) C - A results in overflow. true or false?...
1) convert binary number 10.011 into equivalent decimal number 2) Determine the two's complement of the...
1) convert binary number 10.011 into equivalent decimal number 2) Determine the two's complement of the given binary number 10011100 3) Design a combinational logic circuit that can add 3 bit binary imputs
a) Do the operation 75.38 - 18.62 in binary using two's complement. Use for part fractional...
a) Do the operation 75.38 - 18.62 in binary using two's complement. Use for part fractional 6 bits b) Convert the resulting expression to decimal, and say how much is the absolute error obtained in the operation __PRESENT
Design a sequential circuit that will negate four-bit two's complement integer. That is if, for example,if...
Design a sequential circuit that will negate four-bit two's complement integer. That is if, for example,if the input is 3 (in two's compliment representation) the output should be -3 (in two's complement notation). Start with the truth table, next write the formulas for each output in SOP form, next simplify formulas using Karnaugh maps and finally draw the simplified circuit. Thank you
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned...
1. Assuming unsigned binary representation, convert 10110 (B) to decimal. Show work. 2 . Assuming unsigned binary representation, convert 12 (D) to binary. Show work. 4. Assuming 9-bit two’s complement representation and let x be binary representation of 94 (D) a. Find x. Show work. b. Show the effect of the ASL operation on x, and then convert the result back to decimal. c. Show the effect of the ASR operation on x, and then convert the result back to...
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of...
Assuming nine-bit 2’s complement representation, convert the decimal number -137 to binary, show the effect of the ROL operation on it with initial carry C=1, show the status bits and then convert the result back to decimal. Repeat with the ASR operation. Write the RTL specification of both operations shown here.
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain why, If decimal number cannot be represented with 8 bits. a. -46 b. -63 c. 118 d. -128 e. 128 B). Perform following operations by converting the decimal numbers to 8-bit two’s complement binary. Check results by converting final result to decimal a. 94-53 b. 15–84
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement...
6. What decimal number does the bit pattern 0xBF800000 represent if it is: A two's complement integer An unsigned integer A floating point number assuming the IEE 754 single precision format PLEASE EXPLAIN AND SHOW WORK
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X =...
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X = 1010011 and Y = 1010010 perform the subtraction X - Y. Enter your result below: Which bit of a signed binary number represents the sign?