Question

​​​​​ Using binary numbers of 8 bits each, convert to binary and solve the following arithmetic...

​​​​​

  1. Using binary numbers of 8 bits each, convert to binary and solve the following arithmetic operations using two’s complement representation: (10 points)

                  a) (48)10 - (13)10

          b) (-18)10 + (-13)10  

Homework Answers

Answer #1

solution:

a) :

(48)10 - (13)10

Step 1:- First convert both the values in binary

48 = 00110000

13 = 00001101

Step 2:- convert negative number to 1's complement

00001101 = 11110010

Step 3:- convert 1's complement into 2's complement

11110010 + 1 = 11110011

Note: 2's complement of positive number will be same as binary number

48 - 13

48 +(-13) = 00110000+11110011 = 00100011

b):

(-18)10 - (13)10

Step 1:- First convert both the values in binary

18 =    00010010

13 = 00001101

Step 2:- convert negative number to 1's complement

00010010=11101101

00001101 = 11110010

Step 3:- convert 1's complement into 2's complement

11101101 + 1= 11101110

11110010 + 1 =11110011

Note: negative number represented by their 2's complement...

(-18)+ ( - 13)

(-18) +(-13) = 11101110 + 11110011 = 11100001

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
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
What range of numbers encoded using two’s complement representation can be expressed using 5 bits? Provide...
What range of numbers encoded using two’s complement representation can be expressed using 5 bits? Provide your answer in decimal.
i) What would be stored in the 4-digit binary codes if the clock display time was:17:29...
i) What would be stored in the 4-digit binary codes if the clock display time was:17:29 (7) (c) Using two’s complement binary arithmetic, find the sum of (i) 48 and – 19 (ii) ( 6)  ( 13) and (iii) Convert (b) (i)Convert 87.25 in decimal to Binary and show it value in Octal and Hex. n
Convert each of the following decimal numbers to binary, octal, and hexadecimal numbers. Only go to...
Convert each of the following decimal numbers to binary, octal, and hexadecimal numbers. Only go to 7 bits to the right of the decimal and be sure to appropriately round the 7th bit. (f) 250.8
Find the 2's complement of the following decimal numbers (You must convert the number to binary...
Find the 2's complement of the following decimal numbers (You must convert the number to binary and the answer has to be in binary with the same number of bits as the conversion)? a. 20 b. 15 c. 2126 d. 266 e. 466 please explain how you did it!
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...
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and...
EE 263 Homework Assignment 1    Perform the following conversions: Convert 51 (decimal) to binary and to hex Convert 0xD1 (hexadecimal) to binary and to decimal Convert 0b11001001 (binary) to hex and to decimal Find the 2’s complement of the following 4-bit numbers 1101 0101 Perform the following 4-bit unsigned operations. For each, indicate the 4-bit result and the carry bit, and indicate if the answer is correct or not. 5 + 8 2 + 12 13 – 7 4...
1. Show how you would do the following sum in binary (make sure to convert to...
1. Show how you would do the following sum in binary (make sure to convert to binary first and give the result in both binary and base 10): 63+125 2. How many binary sequences are there of length n? 3. What is two’s complement and why is it used?
Solve (576.138-286.275)10 using 8 digit, nine's complement arithmetic.
Solve (576.138-286.275)10 using 8 digit, nine's complement arithmetic.
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question...
Question 6: Convert BCD 1001 0011 to decimal Question 7: Convert hexadecimal AA to decimal Question 8: What is the 2’s complement of (01001110)2? Question 9: How is – 1510 represented in eight-bit 2’s complement notation? Question 10: How is – 11210 represented in eight-bit 2’s complement notation? Question 11: Solve the binary arithmetic problem: (00010111)2 + (00101001)2 Question 12: Solve the binary arithmetic problem: (1010)2 - (0100)2 Question 13: Solve the following problem: (01110000)2 - (00011000)2 Question 14: Solve...