View Single Post
Old Oct 19th, 2004, 9:37 PM   #16
Daggerhex_Flynn
Programmer
 
Join Date: Oct 2004
Location: Canada
Posts: 82
Rep Power: 5 Daggerhex_Flynn is on a distinguished road
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.
Daggerhex_Flynn is offline   Reply With Quote