Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(8 points) For each part, do or answer the following: - Show how you would add the two 8-bit binary numbers by filling in each

image text in transcribed

(8 points) 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 e or 1. NOTE1: Addition of 2's complement numbers is done just like the addition of unsigned whole numbers, 30 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 8 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. (6) Addends are both negative, sum is negative. (H) Carry-in and carry-out at most significant-bit position are the same. (1) 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 usigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: TIITIT 10011110 10001110 Sum: TIITID 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N (6) 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: 01000011 01010011 Sum: DIT 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? YIN 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: TIITTO 01110001 1 0 1 1 0 1 0 1 Sum: DID 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N d) Carry: TIITID 1 1 1 1 1 0 0 1 10101001 Sum: TIIT 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N (8 points) 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 e or 1. NOTE1: Addition of 2's complement numbers is done just like the addition of unsigned whole numbers, 30 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 8 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. (6) Addends are both negative, sum is negative. (H) Carry-in and carry-out at most significant-bit position are the same. (1) 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 usigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: TIITIT 10011110 10001110 Sum: TIITID 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N (6) 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: 01000011 01010011 Sum: DIT 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? YIN 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N Carry: TIITTO 01110001 1 0 1 1 0 1 0 1 Sum: DID 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N d) Carry: TIITID 1 1 1 1 1 0 0 1 10101001 Sum: TIIT 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions