How do I do in general addition/subtraction with n's complement?
With binary numbers its straightforward, convert the number you want to subtract to 1's or 2's complement then add the numbers. Handle overflow
But with n's complement, I'm quite lost. How do I do it? I believe convert the number to subtract to 10s complement then add
eg.
1234(base10) - 1122(base10) -------------- 1234(base10) + 9988(10s) -------------- 11222(base??)
I belive I did wrong? As 1234-1122=112?