Knowee
Questions
Features
Study Tools

Convert each pair of decimal numbers to binary and add using 2's complement-110 and -84

Question

Convert each pair of decimal numbers to binary and add using 2's complement-110 and -84

🧐 Not the exact question you are looking for?Go ask a question

Solution

  1. Convert -110 to binary using 2's complement:

    • First, convert 110 to binary: 110 in binary is 1101110.
    • Next, find the 2's complement of 1101110:
      • Invert the digits: 0010001
      • Add 1: 0010001 + 1 = 0010010
    • So, -110 in 2's complement (assuming an 8-bit representation) is 11100110.
  2. Convert -84 to binary using 2's complement:

    • First, convert 84 to binary: 84 in binary is 1010100.
    • Next, find the 2's complement of 1010100:
      • Invert the digits: 0101011
      • Add 1: 0101011 + 1 = 0101100
    • So, -84 in 2's complement (assuming an 8-bit representation) is 10101100.
  3. Add the two 2's complement binary numbers:

    11100110
    
  • 10101100

110100010


4. Since the result is a 9-bit number, we need to discard the extra bit (leftmost bit):

110100010 (discard the leftmost bit) 10100010


5. The result in binary is 10100010. To verify, convert it back to decimal:
- 10100010 in binary is a negative number in 2's complement.
- Find the 2's complement to get the positive value:
  - Invert the digits: 01011101
  - Add 1: 01011101 + 1 = 01011110
- 01011110 in binary is 94 in decimal.
- Therefore, the result is -94.

So, the sum of -110 and -84 using 2's complement is -194.

This problem has been solved

Similar Questions

Convert the following decimal values to 8-bit 2's complement representation(1*2 Marks)i. -92ii. -36

Convert the following values of into binary (1*2 Marks)i. 4728ii. 65348b) Convert the following decimal values to 8-bit 2's complement representation(1*2 Marks)i. -92ii. -36c) Perform the following conversions. (1*2 Marks)i. 11000112 converts into a decimal number systemii. 10111112. converts into a decimal number systemd) Convert the following decimal values to a 12-bit 2's complement representation.(1*2 Marks)i. -189ii. -749e) Convert the following decimal values to a 16-bit 2's complement representation. (1*2Marks)i. -2342ii. 234

Convert the following decimal values into their binary equivalent in a 16-bit 2's complement representation. Do not use spaces, punctuation or symbols in your answer. The first conversion has been done for you. Decimal 16-bit 2's Complement -56 -80 -256 30001 -30001

Convert the following decimal values to a 16-bit 2's complement representation. (1*2Marks)i. -2342ii. 234

n binary system each and every number and its sign are represented by using only thesetwo digits 0 and 1. As the negative and positive signs cannot be written directly in binarysystem. The alternative method to represent negative and positive numbers is the 2’scomplement method. It has an interesting property that the binary arithmetic operationcan be performed easily on signed or unsigned numbers. Compute the following binaryarithmetic operations using 2’s complement method. Show all the steps clearly. (LO 01)(2*5 = 10 Marks)a) Sum of -30 and 17b) Sum of -42 and -15c) Sum of -13 and -16d) Multiplication of -8 by 6e) Multiplication of -11 by -9

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.