To determine the complement of a binary number in the 8-bit system, follow these steps:
Make sure your binary has 8 digits. If it has fewer, add some leading zeros.
Replace every digit with the opposite one: 0→1 and 1→0.
Increase the number by 1. That's it!
Read more