|
I have to fix my screw up: Regarding two's compliment:
Maximum positive 8 bit# = 0111 1111 = 1+2+4+8+16+32+64+0 = 127
Simple enought
Maximum negative 8 bit# = 1000 0000 = 0111 1111 = 1000 0000 = 0+0+0+0+0+0+0+128 = -128
So it works perfectly, if you do your addition properly.
|