Question

Given two numbers A = 0111 1111 and B = 0111 1111. Add them and find...

Given two numbers A = 0111 1111 and B = 0111 1111. Add them and find the correct option.

a) There is unsigned overflow but no signed overflow.

b) There is signed overflow but not unsigned overflow.

c) There is signed as well as unsigned overflow.

d) There is no overflow.

with explanation.

Homework Answers

Answer #1

Ans

b) There is signed overflow but not unsigned overflow

.

.

In signed numbers first bit is sign bit. Here add results in 11111110 the magnitude gets into sign bit and sets the sign bit . Overflow flag get set. Signed overflow occur when result goes out of 7 bits

.

.

If unsigned numbers are used all bits represent magnitude. so addition does not lead any overflow. The result is a valid unsigned number. No carry flag is set which indicate unsigned overflow. It occurs if result goes out of 8 bits.

.

.

.

If any doubt ask in the comments.

Please appreciate the work by giving a thumbs up.

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
Convert each of following numbers to Hexadecimal numbers, showing all steps. a. (1111 0111)2 b. (1010...
Convert each of following numbers to Hexadecimal numbers, showing all steps. a. (1111 0111)2 b. (1010 1010 1010)2 c. (777) 8 d. (443) 8 e. (998)10 f. (1066)10
Suppose A and B are signed numbers, find the logic expression of the overflow flag when...
Suppose A and B are signed numbers, find the logic expression of the overflow flag when A and B are added. R = result. (Hint: Recall that overflow happens to signed addition if and only if 1) adding two positives and getting a negative, or 2) adding two negatives and getting a positive.) A = a31a30a30…a2a1a0 B = b31b30b30…b2b1b0 R = r31r30r30…r2r1r0
A and B are two 8-bit 2’s complement numbers. The result of A & B is...
A and B are two 8-bit 2’s complement numbers. The result of A & B is 10011000 and the result of A ^ B is 00100110. (a) What is the sum A + B expressed in 8-bit two’s complement notation (use 1s and 0s, e.g. 10100101)? Will the carry flag be set? Will the overflow flag be set?
ARITHMETIC INSTRUCTIONS a) ADD with register/memory       ADD r [or] ADD M b) ADD immediate.      ...
ARITHMETIC INSTRUCTIONS a) ADD with register/memory       ADD r [or] ADD M b) ADD immediate.       ADI 8 bit data c) ADD with carry       ADC r [or] ADC M 1: Write Assembly Language Program to perform Simple Addition of two 8 Bit Numbers.
Given two signed numbers -325+14. Convert both to signed binary and perform arithmetic addition. Please show...
Given two signed numbers -325+14. Convert both to signed binary and perform arithmetic addition. Please show steps.
Find the radix complement of the following numbers? You must convert them back to their respective...
Find the radix complement of the following numbers? You must convert them back to their respective base? a. 129 b. 1535426 c. 17619 d. 1010013 e. 10011100102 please explain how you did it!!
Add the two vectors to find the resultant vector C which is equal to A +B...
Add the two vectors to find the resultant vector C which is equal to A +B             A:  120 feet at 33 degrees North of East             B:  150 feet at 40 degrees South of East Find the component vectors: Ax: Ay: Bx: By: Find the components of C Cx: Cy: Put C back together Add the vectors:             A:  124 miles at 5 degrees North of South             B:  88 miles at 82 degrees North of South Components: Ax: Ay: Bx: By: Cx: Cy: Final Answer: give...
ARITHMETIC INSTRUCTIONS a) ADD with register/memory       ADD r [or] ADD M b) ADD immediate.      ...
ARITHMETIC INSTRUCTIONS a) ADD with register/memory       ADD r [or] ADD M b) ADD immediate.       ADI 8 bit data c) ADD with carry       ADC r [or] ADC M 2. Write Assembly Language Program to perform Simple Addition of two 8 Bit numbers stored in locations memory C030 , C031.
Given a function?(?)= −?5 +5?−10, −2 ≤ ? ≤ 2 (a) Find critical numbers (b) Find...
Given a function?(?)= −?5 +5?−10, −2 ≤ ? ≤ 2 (a) Find critical numbers (b) Find the increasing interval and decreasing interval of f (c) Find the local minimum and local maximum values of f (d) Find the global minimum and global maximum values of f (e) Find the inflection points (f) Find the interval on which f is concave up and concave down (g) Sketch for function based on the information from part (a)-(f)
Find two positive numbers satisfying the given requirements. The product is 232 and the sum is...
Find two positive numbers satisfying the given requirements. The product is 232 and the sum is a minimum.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT