In 2's complement addition of two signed numbers A and B, overflow occurs if and only if:
Adding two positive numbers results in a negative number: A7=0, B7=0, and S7=1. The boolean condition for this case is A7⋅B7⋅S7=1.
Adding two negative numbers results in a positive number: A7=1, B7=1, and S7=0. The boolean condition for this case is A7⋅B7⋅S7=1.
Combining both conditions, the overflow detection formula is:
Overflow=A7⋅B7⋅S7+A7⋅B7⋅S7 Thus, an overflow occurs if (A7⋅B7⋅S7+A7⋅B7⋅S7)=1.
Hence, (C) is the correct option.