Question

Convert −987654321 to (2’s Complement) Convert 1234.5869 × 103 to IEEE 745 (show your work) Convert...

Convert 987654321 to (2’s Complement)

Convert 1234.5869 × 103 to IEEE 745 (show your work)

Convert 98765.4321 to IEEE 745 (show your work)

Convert 98765.4321 to IEEE 745 – double (show your work)

Add 12345869 and 987654321

Add 1234.5869 × 103 and 98765.4321 (show your work)

Convert 0xc996b4d7 from IEEE 745 to scientific notation (X * 10Y) (show your work)

Homework Answers

Answer #1
1)
This is negative. so, follow these steps to convert this into a 2's complement binary
Step 1:
Divide 987654321 successively by 2 until the quotient is 0
   > 987654321/2 = 493827160, remainder is 1
   > 493827160/2 = 246913580, remainder is 0
   > 246913580/2 = 123456790, remainder is 0
   > 123456790/2 = 61728395, remainder is 0
   > 61728395/2 = 30864197, remainder is 1
   > 30864197/2 = 15432098, remainder is 1
   > 15432098/2 = 7716049, remainder is 0
   > 7716049/2 = 3858024, remainder is 1
   > 3858024/2 = 1929012, remainder is 0
   > 1929012/2 = 964506, remainder is 0
   > 964506/2 = 482253, remainder is 0
   > 482253/2 = 241126, remainder is 1
   > 241126/2 = 120563, remainder is 0
   > 120563/2 = 60281, remainder is 1
   > 60281/2 = 30140, remainder is 1
   > 30140/2 = 15070, remainder is 0
   > 15070/2 = 7535, remainder is 0
   > 7535/2 = 3767, remainder is 1
   > 3767/2 = 1883, remainder is 1
   > 1883/2 = 941, remainder is 1
   > 941/2 = 470, remainder is 1
   > 470/2 = 235, remainder is 0
   > 235/2 = 117, remainder is 1
   > 117/2 = 58, remainder is 1
   > 58/2 = 29, remainder is 0
   > 29/2 = 14, remainder is 1
   > 14/2 = 7, remainder is 0
   > 7/2 = 3, remainder is 1
   > 3/2 = 1, remainder is 1
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 111010110111100110100010110001
So, 987654321 of decimal is 111010110111100110100010110001 in binary
Adding 2 zeros on left hand side of this number to make this of length 32
So, 987654321 in normal binary is 00111010110111100110100010110001
Step 2: flip all the bits. Flip all 0's to 1 and all 1's to 0.
   00111010110111100110100010110001 is flipped to 11000101001000011001011101001110
Step 3:. Add 1 to above result
11000101001000011001011101001110 + 1 = 11000101001000011001011101001111
so, -987654321 in 2's complement binary is 11000101001000011001011101001111
Answer: 11000101001000011001011101001111

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
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...
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to...
1a. Convert 101011101011011101 (base 2) to hexadecimal. Show your work. 1b. Convert 67 (base 10) to 8-bit binary using signed magnitude. Show your work. 1c. Convert 69 (base 10) to 8-bit binary using one’s complement. Show your work. 1d. Convert 70 (base 10) to 8-bit binary using two’s complement. Show your work.
Convert the decimal number 1283.181 to IEEE 754 floating point format. Show all work.
Convert the decimal number 1283.181 to IEEE 754 floating point format. Show all work.
Please show all work: Convert the following decimal numbers into 8-bit binary numbers in the 2’s-complement...
Please show all work: Convert the following decimal numbers into 8-bit binary numbers in the 2’s-complement form and perform the indicated operation. Circle the two binary numbers that are being added and the binary answer. Note: All three equivalent binary numbers are required for full credit.             +22             - 10             ----             =
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show...
Convert the following decimal numbers into IEEE single precision format. Give your answer in hexadecimal. Show all work A) -15.5625 B) 10.9375
1. Convert 101 from binary to decimal. Show your work. 2. Convert 11111111 from binary to...
1. Convert 101 from binary to decimal. Show your work. 2. Convert 11111111 from binary to hexadecimal. Show your work. 3. Convert 11001 from binary to decimal. Show your work. 4. Convert A4B from hexadecimal to binary. Show your work. 5. Convert 1100100 from binary to decimal. Show your work. 6. Convert 15 from decimal to binary. Show your work. 7. Convert 255 from decimal to binary. Show your work. 8. Convert BAC4 from hexadecimal to decimal. Show your work....
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work,...
Convert the following binary floating point number 100101.1001010101 using IEEE-756 single precision representation Plz show work, thanks!
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.
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?
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT