Given that numbers A and B are two 8 bit 2's Complement numbers with A=11111111; B=11111111. Then, sum A+B is ____

✅ Correct Answer: 11111110

Explanation

A = 11111111 represents $-1$ in 8-bit 2's complement. Similarly, B = 11111111 represents $-1$. Add the numbers: $(-1) + (-1) = -2$ Binary of $2$ is $00000010$. 1's complement is $11111101$. 2's complement is obtained by adding 1: $11111101 + 1 = 11111110$.

🎯 Happy Preparation — ACME Academy

ACMEACME Score Analyser