Professional Documents
Culture Documents
10
Instructor: Muhammad Wasim
Semester: BS – IV
Objective:
Signature: _____________________________
1
Lab No 10
Theory
To form the 2’s complement of a number, first take the 1’s complement and then add
1. The 2’s complement of 10110 is 01001 + 1 = 01010. A shorter method is to start at the least significant bit and,
moving to the left, leave each bit the same until the first 1 is passed. Then change each bit thereafter.
Do It Yourself