Solved

Consider 2's Complement 4-Bit Signed Integer Addition and Subtraction

Question 6

Essay

Consider 2's complement 4-bit signed integer addition and subtraction.
(a) Since the operands can be negative or positive and the operator can be subtraction or addition, there are 8 possible combinations of inputs. For example, a positive number could be added to a negative number, or a negative number could be subtracted from a negative number, etc. For each of them, describe how the overflow can be computed from the sign of the input operands and the carry out and sign of the output. Fill in the table below: Consider 2's complement 4-bit signed integer addition and subtraction. (a) Since the operands can be negative or positive and the operator can be subtraction or addition, there are 8 possible combinations of inputs. For example, a positive number could be added to a negative number, or a negative number could be subtracted from a negative number, etc. For each of them, describe how the overflow can be computed from the sign of the input operands and the carry out and sign of the output. Fill in the table below:   (a) 00000000 (b) 11011010 (c) 01110000 (a) 00000000
(b) 11011010
(c) 01110000

Correct Answer:

verifed

Verified

a. (+1)*(2(0-7))*(1.0) = 0.031...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents