Citat:
Izracunati -825 - 183 u potpunom komplementu u binarnom sistemu.
Citat:
825 = 1100111001
183 = 10110111
NK(1100111001) = 0011000110 + 1 = 0011000111(potpuni komplement)
NK(10110111) = 01001000 + 1 = 01001001(potpuni komplement)
0011000111 + 01001001 = 100010000(sto bi trebalo da bude -16, a meni treba resenje -1008)
183 = 10110111
NK(1100111001) = 0011000110 + 1 = 0011000111(potpuni komplement)
NK(10110111) = 01001000 + 1 = 01001001(potpuni komplement)
0011000111 + 01001001 = 100010000(sto bi trebalo da bude -16, a meni treba resenje -1008)
Gde gresim ? :)
Unapred zahvalan.