GATE Exam  >  GATE Questions  >   When two 8-bit numbers A7…A0 and B7…B0 in 2’... Start Learning for Free
When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred if
  • a)
    the carry bit C7 is 1
  • b)
    all the carry bits C7…..C0 are 1
  • c)
  • d)
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representati...
Explanation
Overflow flag indicates an overflow condition for a signed operation. Some points to remember in a signed operation:
* MSB is always reserved to indicate sign of the number.
* Negative numbers are represented in 2’s – complement.
* An overflow results in invalid operation.
2's complement overflow rules:
* If the sum of two positive numbers yields a negative result, the sum has- overflowed.
* If the sum of two negative number yields a positive result, the sum has overflowed.
* Otherwise, the sum has not overflowed.
Overflow for signed numbers occurs when the carry-in into the MSB (most significant bit) is not equal to carry-out. Conveniently, an XOR-operation on these two bits can quickly determine if an overflow condition exists.
Therefore,
View all questions of this test
Explore Courses for GATE exam
When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer?
Question Description
When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer?.
Solutions for When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer?, a detailed solution for When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice When two 8-bit numbers A7…A0 and B7…B0 in 2’s complement representation (with A0 and B0 as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7….S0 and the carry bits are C7…..C0. An overflow is said to have occurred ifa)the carry bit C7 is 1b)all the carry bits C7…..C0 are 1c)d)Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev