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.