-8+8 = 0 0000 8+7 = 15 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7
rep(x) - b = x x+b-b = x -(x+b-b)= -x b-(x+b-b) = rep(-x) = ~rep(x)
rep(x) + rep(y) = x+b + y+b = (x+y) + b + b = rep(x+y) + b