Question

Express the decimal number (-37)10 as an 8-bit 2's complement binary number. Given the two signed...

Express the decimal number (-37)10 as an 8-bit 2's complement binary number.

Given the two signed binary numbers (2's comp.) X = -8 and Y = 14, what is their sum?

What is the BCD representation of the decimal value (9371)10?

Homework Answers

Answer #1

In 2's Complement Binary Representation we represent signed numbers As signed number are of two types Positive and Negative

1. To represent Positive Numbers we write simply the binary form of that number

2. To represent the Negative Numbers we take 2's Complement of its positive value . For Example - A = ( 2's complement of A )

Here MSB bits decide the sign of the Number

If MSB =1 then Number is Negative

If MSB=0 Then Number is Positive

So We have Decimal Number

-37 = 2's Complement of 37

37 = 11011011

So we get (-37) 10 in  2's complement binary number.= 11011011

Format of Addition of Two Numbers = A - B = A + ( 2's Complement of B )

Here We have

X = -8 and y = 14

S0 14 - 8 = 14 + ( 2's complement of 8 )

14 = 00001110

-8 = 2's complement of 8 = 11111000

Now add them

00001110

+11111000

------------------

00000110

Now As MSB = 0 so Result is positive and without any overflow

Hence we get Result as = 0000 0110= (6) 10

This is how addition of two signed number is done in 2's Complement method

Convert Decimal To BCD Representation

Firstly, separate the decimal number into its weighted digits and then write down the equivalent 4-bit  BCD code representing each decimal digit

So we have  (9371)10

Separating the digits and writing each 4 bit

9 = 1001

3 = 0011

7 = 0111

1 = 0001

Combine all together we get

BCD Of   (9371)10 = 1001001101110001

This is how we can convert any decimal to BCD

So These are the Complete Solution of all the Questions asked

Thank You

If u like the answer do Upvote it and have any doubt ask in comments

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
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10...
Express the decimal number (25)10 as an 8-bit unsigned binary number. Express the decimal number (-37)10 as an 8-bit sign-magnitude binary number. Express the decimal number (-37)10 as an 8-bit 1's complement binary number.
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
The 8-bit signed binary 2's complement number equal to the decimal number -73 is [a].
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?
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement:...
Represent the following decimal numbers in binary using 8-bit signed magnitude, one’s complement, and two’s complement: a) 77 b) -42 c) 119 d) -107 E) 60 f) -60 g) 20 h) -20
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             ----             =
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 the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356...
Convert the hexadecimal number DEADBEEF to binary. Convert the following decimal number to binary: a) 356              b) 658 What decimal value does the 8-bit binary number 10011110 represent if it is on a computer using two’s complement representation? What decimal value does the 8-bit binary number 10110100 have if it is on a computer using two’s complement representation? please show your work for question number 4. thank you.
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can...
1a) 0xCAFE can be written in decimal (base 10) as: 1b) The decimal number -94 can be expressed (in 8 bits) Using signed magnitude representation as: Using one's complement representation as: Using two's complement representation as: Using excess-M representation (with the appropriate value of M) as: 1c) Using the simple floating point model (1-bit sign, 5-bit biased exponent, and 8-bit significand), the number -0.125 (decimal) can be expressed as: (Do not use spaces or any English text. Provide only the...
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
Express the following 2’s complement number in decimal form, assume leftmost bit is the sign bit....
Express the following 2’s complement number in decimal form, assume leftmost bit is the sign bit. 1000110                            b. 011101                                c. 111111 d.   100000001                        e. 101                                      f. 00011111 g. 101001010                          h. 11                                        i. 10001
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT