Explanation : 100110110 (in 2's complement ignore carry bit so
ignore 1 at msb)
After carry bit is ignored the value at msb is 0
means number is positive so sign bit is 0.
Overflow flag is set only if the X-OR between the
carry-into the sign bit and carry -out of the sign
bit is 1.
Therefore,
carry flag = 1,
overflow flag = 0,
sign bit = 0