• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

question about complements. (1 Viewer)

Skywalker

Member
Joined
Aug 10, 2003
Messages
337
Gender
Undisclosed
HSC
N/A
Originally posted by -X-
Ok heres my problem:
+128 = 10000000
and
-128 is also (2's complement) = 10000000 according to you.
Er, no. It's not possible to have +128 in an 8-bit system. The acceptable range, using two's complement, would be -128 ---> 127.
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
yeh i know. Look at my last post thats talking about binaries.
 

-X-

Member
Joined
Aug 10, 2003
Messages
481
Gender
Undisclosed
HSC
N/A
LOL!!

I understand it now but reading my posts again and im thinking "WTF was i thinking"? and the 11111111 = 128? lol even when wogboy tried correcting me, i thought he was talking about something else. I think i was drugged or something.....well it was about 1-2am when i was typing all the shit. :D

Seriously thanks allot everyone and SamD for your help. SamD, your explanation in the begining should have been more than enough for an answer to my question but unfortunetly, didn't sink in at the time. :rolleyes:

Thanks again :D
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top