two's complement

cindrilla's Avatar, Join Date: Sep 2010
Go4Expert Member
hi frinds i want to know how this one's complement & two's complement is done in 16bit system
xpi0t0s's Avatar, Join Date: Aug 2004
Same way it's done in any size system. One's complement just flips the bits, two's complement flips the bits then adds one. 1's comp of 0001 is 1110; 2's comp is 1111.