Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

A (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 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 o 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. (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) Carry: 1 1 1 1 0 1 000 1 0 0 1 1 1 1 0 l observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y IN 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N (b) Carry 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N 01010011 0 0 1 0 1 1 1 0 Sum: 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? Y/N l observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N (C) Carry: 1 0 0 1 1 1 0 1 0 1 1 100 000 Sum: IIIIIII 2 observations if 2's complement: A/B/C/D/E/F/G/H/ I Overflow if 2's complement? YIN (d) Carry 1 observation if unsigned: A/B/C/D/E/F/G/H/ I Overflow if unsigned? Y/N 1 1 1 0 0 0 0 1 0 0 1 1 1 1 1 1 Sum : 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

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions