Question

For each part, do or answer the following: - Show how you would add the two...

For each part, do or answer the following:
- Show how you would add the two 8-bit binary numbers by filling in each of the blank boxes with a 0 or 1.
NOTE1: Addition of 2's complement numbers is done just like the addition of unsigned whole numbers, so you only need to show each addition once.
NOTE2: There are 9 blank boxes for the Carry bits and 8 blank boxes for the Sum bits.
CAUTION: Every blank box should be filled with a 0 or 1; if you leave any boxes blank, your answer will be taken as incomplete.
- Circle one observation from the list below that is applicable and useful to help determine whether overflow has occurred, if the numbers are unsigned whole numbers and only 8 bits are available for holding the result.
CAUTION: There will be penalty for additional observations circled that are not applicable/helpful.
- Circle Y or N to indicate your inference on whether overflow has occurred or not (if the numbers are unsigned whole numbers and only 8 bits are available for holding the result) based on the circled observation(s).
- Circle two observations from the list below either of which is applicable and useful to help determine whether overflow has occurred, if the numbers are 2's complement numbers and only 8 bits are available for holding the result.
CAUTION: There will be penalty for observations circled that are not applicable/helpful.
- Circle Y or N to indicate your inference on whether overflow has occurred or not (if the numbers are 2's complement numbers and only 8 bits are available for holding the result) based on the circled observation(s).
List of observations (note that each is in terms of the state(s) of certain bit(s) in 1 or 2 positions -- something that can be easily made in hardware):
(A) Carry-out is 0 when bits at most-significant-bit position are added.
(B) Carry-out is 1 when bits at most-significant-bit position are added.
(C) Addends have opposite signs.
(D) Addends are both positive, sum is positive.
(E) Addends are both positive, sum is negative.
(F) Addends are both negative, sum is positive.
(G) Addends are both negative, sum is negative.
(H) Carry-in and carry-out at most-significant-bit position are the same.
(I) Carry-in and carry-out at most-significant-bit position are not the same.
CAUTION:
You will earn NO CREDITS if you simple give answers for the overflow part without doing the binary addition part.
(a) 1 observation if unsigned: ( A / B / C / D / E / F / G / H / I )
Overflow if unsigned? ( Y / N )

2 observations if 2's complement: ( A / B / C / D / E / F / G / H / I )
Overflow if 2's complement? ( Y / N )
(b) 1 observation if unsigned: ( A / B / C / D / E / F / G / H / I )
Overflow if unsigned? ( Y / N )

2 observations if 2's complement: ( A / B / C / D / E / F / G / H / I )
Overflow if 2's complement? ( Y / N )
(c) 1 bservation if unsigned: ( A / B / C / D / E / F / G / H / I )
Overflow if unsigned? ( Y / N )

2 observations if 2's complement: ( A / B / C / D / E / F / G / H / I )
Overflow if 2's complement? ( Y / N )
(d)

1 observation if unsigned: ( A / B / C / D / E / F / G / H / I )
Overflow if unsigned? ( Y / N )

2 observations if 2's complement: ( A / B / C / D / E / F / G / H / I )
Overflow if 2's complement? ( Y / N )

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(a)

carry : 111111000

10110100

01101100 +

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

1)00100000 <--- sum

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

2 observations if 2's complement: ( B / C / H )
Overflow if 2's complement? ( Y )

(b)

carry:010010000

01001101

01001010 +

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

10010111 <---- sum

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

1 observation if unsigned: ( A / E / I )
Overflow if unsigned? ( N )

(c)

carry :111100000

11110000

10110110 +

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

1)10100110

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

2 observations if 2's complement: ( B / G / H )
Overflow if 2's complement? ( Y )

(d)

carry:101000000

10101100

10110011 +

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

1)01011111

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

2 observations if 2's complement: ( B / F / I )
Overflow if 2's complement? ( Y )

Do ask if any doubt. Please upvote.

Add a comment
Know the answer?
Add Answer to:
For each part, do or answer the following: - Show how you would add the two...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • e,f,g,h,i 1) Given: X 0xA4 and Y 0x95, a) Convert X and Y to 8-bit binary numbers. b) Compute the 8-bit sum X+Y of...

    e,f,g,h,i 1) Given: X 0xA4 and Y 0x95, a) Convert X and Y to 8-bit binary numbers. b) Compute the 8-bit sum X+Y of X and Y o) Compute Y the 8-bit two's complement of Y. d) Compute the 8-bit difference X"Y of X and Y. (Use two's complement addition.) o) Convert XiY, Y, and, X Y to hexadecimal. D What are the values of the condition flags z n c v upon computing X-+Y? g) What are the values...

  • HW 9: N-bit Arithmetic For each of the <X, Y> pairs in the table below: a)...

    HW 9: N-bit Arithmetic For each of the <X, Y> pairs in the table below: a) Convert X and Y to binary b) Compute X+Y (the 8-bit sum) c) Compute Y (the 2's complement of Y) d) Compute X-Y = X+Y (the 8-bit difference) e) Indicate the signs of X, Y, X+Y, Y, and X-Y f) Convert X+Y, Y, and X-Y to hexadecimal g) Indicate condition flag (z, n, C, v) values for X+Y, X-Y h) As unsigned numbers are...

  • 101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude...

    101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude (b) two’s complement and (c) unsigned representations. Indicate if not possible. 2,  5,   7,   8   How the following negative numbers will be represented in 4-bit (a) sign-magnitude and b) two’s complement representations. Indicate if not possible. -2,     -5,   -7,  -8 Consider the following java program snippet (hint: byte is represented as 8-bit 2’s complement number in java- run the program in java to check it). What will be printed? Explain....

  • Please Can someone paraphrase this ? : 1.4 Binary Subtractor The subtraction of unsigned binary numbers...

    Please Can someone paraphrase this ? : 1.4 Binary Subtractor The subtraction of unsigned binary numbers can be done most conveniently by means of complement. Subtraction A–B can be done by tacking the 2’s complement of B and adding it to A. The 2’s complement can be obtained by taking the 1’s complement and adding one to the least significant pair of bits. The 1’s complement can be implemented with the inverters and a one can be added to the...

  • ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex...

    ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex a b. Convert 0xDI (hexadecimal) to binary and to decimal c. Convert Ob11001001 (binary) to hex and to decimal 2. Find the 2's complement of the following 4 bit numbers a 1101 b 0101 3. Perform the following 4 bit unsigned operations. For each, indicate the 4-bet result and the carry bit, and indicate if the answer is correct or not a. 5+8 b....

  • Please answer all the questions! Thank you. For the following C statement, what would be the corresponding MIPS assembly...

    Please answer all the questions! Thank you. For the following C statement, what would be the corresponding MIPS assembly code? Assume that the variables a, b, c, and d are given and were declared as 32-bit integers a - b - (c + 7)+ d; 1. 2. Show how the value 0xB47CA034 would be arranged in a little-endian and big-endian machine Assume the data is being stored starting with address 0 3. Convert the following base-16 numbers to base-2 a....

  • HW-5 (Due July 30, 2020) You can scan and upload your final work by clicking on...

    HW-5 (Due July 30, 2020) You can scan and upload your final work by clicking on the link above "HW-5 ..." by the deadline. Make sure to write your name and course detail on the right corner or cover page of your document. Q1. Determine the decimal values of the following unsigned numbers - a. (0111001010) b. (1011001001)2 c. (4351). d. (1001)3 e. (ABCD16 Q2. Determine the decimal values of the following 8-bit, 2's complement numbers - a. (11001101) 6....

  • 2. Using the sigma (E) notation and given an n-bit sequence of binary digita An-12,-291-3 ......

    2. Using the sigma (E) notation and given an n-bit sequence of binary digita An-12,-291-3 ... 220,20. what is the value of A if the binary bits are interpreled as: a. an unsigned integer? b. Sign Magnitude number? Page 1 of 3 H. QUAYSON c. Twos Complement number? d. Using the representation of two complement numbers in question 6.c. above, convert the sign-magnitude mmber 1001 into twos complement number. (10 marks)

  • question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign...

    question 1 part 2 and 3 thank you (47) Naruto Notone C Sign In er Sign Up | Ch ® UFC & MMA × Secure I https://piazza-resourcess3.amazonaws.com/jgopch0cb93d8/j .pdfAWSAccessKeyld-AKAILDNRL/4ALKBWOHA8lexpires-15200435/2&Signature-ol9aXG9 /UAKIHS0QUwMeyBX.. ☆ ミ quations must be properly tyne-set including superscript-s expunents, Always watch the course websile for updates on the assignments. Question 1 (4 points) Show you work I. Convert 2727 into a 32-bit two's complement binary number 2. Convert -5795 into a 16-bit two's complement binary number 3. Add the above...

  • 1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii)...

    1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT