<<< Overflow Detection Circuit for 2's Complement Addition | Index | >>> |
Specific overflow detection requires knowing the operation and the representation.
Overflow occurs when you do some operation to two valid representations...
...and the result can not be represented in the representation because the value is too large or too smal.
Overflow detection is detecting overflow for a specific representation...
...Too often people mistake overflow condition for unsigned overflow, when the carry out is 1.
Overflow detection for 2's complement addition is different:
One way to detect it is to XOR the carry in and the carry out.
<<< Overflow Detection Circuit for 2's Complement Addition | Index | >>> |