X=01110 and Y = 11001 are two 5-bit binary numbers represented in 2's complement format. The sum of X and Y represented in two's complement format using 6 bits is
Open in App
Solution
X=01110 Y=11001––––––– X+Y=100111––––––––
Carry is discarded in the addition of numbers represented in 2's complement form. X+Y in 6 bits is 000111.