Advertisements
Advertisements
Question
Write the 1’s complement procedure.
Short Note
Solution
- Step 1: convert given decimal number into Binary
- Step 2: if the binary bit contains 8 bits if less add 0 at the left most bit, to make it 8 bits.
- Step 3: Invert all the bits, (i.e.) change 1 as 0 and 0 as 1.
shaalaa.com
Binary Representation for Signed Numbers
Is there an error in this question or solution?