GATE 2002: In 2’s complement addition, overflow (a) is…

0

GATE 2002:
In 2’s complement addition, overflow
(a) is flagged whenever there is carry from sign bit addition
(b) cannot occur when a positive value is added to a negative value
(c) is flagged when the carries from sign bit and previous bit match
(d) None of the above

Ravi Garg edited question
    0
    Madhav Purohit (anonymous)

    c for +ve sign bit wud b 0 nd 4 -ve it wud b 1 so no chance of betting overflow…!!:-)

    Madhav Purohit answered
      0
      Hima Mehta (anonymous)

      its c

      Hima Mehta answered
        0
        Madhav Purohit (anonymous)

        Hima Mehta: How cn u say…

        Madhav Purohit answered
          0
          Hima Mehta (anonymous)

          its the overflow condition … xor of carry bit and sign bit is 1 ..

          Hima Mehta answered
            0
            Madhav Purohit (anonymous)

            Hima Mehta: I do not posses good knowledge so kindly cn u pls explain in detail of gv me refernce 2 clear my doubt…

            Madhav Purohit answered
              Add image to editor add image from link

              Question stats

              • Active
              • Views793 times
              • Answers9 answers
              • Followers1 follower
              Question and answer is powered by AnsPress