When two 8-bit numbers \(A_{7}\cdots A_{0}\) and \(B_{7}\cdots B_{0}\) in 2's…

GATE · 2017 · CS · Set 1 · Computer Science & IT

When two 8-bit numbers A7⋯A0A_{7}\cdots A_{0} and B7⋯B0B_{7}\cdots B_{0} in 2's complement representation (with A0A_{0} and B0B_{0} as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7⋯S0S_{7}\cdots S_{0} and the carry bits are C7⋯C0C_{7}\cdots C_{0}. An overflow is said to have occurred if

  1. A.

    the carry bit C7C_{7} is 1

  2. B.

    all the carry bits (C7,⋯ ,C0)\left ( C_{7},\cdots ,C_{0} \right ) are 1

  3. C.

    (A7⋅B7⋅S7‾+A7‾⋅B7‾⋅S7)\left ( A_{7} \cdot B_{7} \cdot \overline{S_{7}}+\overline{A_{7}} \cdot \overline{B_{7}} \cdot S_{7} \right ) is 1 

  4. D.

    (A0⋅B0⋅S0‾+A0‾⋅B0‾⋅S0)\left ( A_{0} \cdot B_{0} \cdot \overline{S_{0}}+\overline{A_{0}} \cdot \overline{B_{0}} \cdot S_{0} \right ) is 1 

Attempted by 475 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…