21.06.2013 Views

Rappresentazione binaria di numeri interi con segno

Rappresentazione binaria di numeri interi con segno

Rappresentazione binaria di numeri interi con segno

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

-27 -11011 1011011 1100100 1100101<br />

-63 -111111 1111111 1000000 1000001<br />

-64 -1000000 NON RAPPRES. NON RAPPRES. 1000000<br />

+63 111111 0111111 0111111 0111111<br />

+64 1000000 NON RAPPRES. NON RAPPRES. NON RAPPRES.<br />

+127 1111111 NON RAPPRES. NON RAPPRES. NON RAPPRES.<br />

-45 -101101 1101101 1010010 1010011<br />

Esercizio 3<br />

Scrivere i seguenti <strong>numeri</strong> decimali nelle varie co<strong>di</strong>fiche in Binario Puro, Modulo e Segno,<br />

Complemento a 1, Complemento a 2, tutte su 8 bit.<br />

Decimale Binario Modulo e Segno Complemento a 1 Complemento a 2<br />

-10 -1010 10001010 11110101 11110110<br />

+25 11001 00011001 00011001 00011001<br />

-59 -111011 10111011 11000100 11000101<br />

-47 -101111 10101111 11010000 11010001<br />

-35 -100011 10100011 11011100 11011101<br />

+31 11111 00011111 00011111 00011111<br />

-37 -100101 10100101 11011010 11011011<br />

-62 -111110 10111110 11000001 11000010<br />

Esercizio 4<br />

Convertire in Modulo e Segno e in Complemento a Due i seguenti <strong>numeri</strong> <strong>interi</strong> <strong>con</strong> <strong>segno</strong>: -32, -<br />

31, +15, +16, -46, -18, -4, +31, in<strong>di</strong>cando, per ognuno, il numero <strong>di</strong> bit necessari per<br />

rappresentarlo.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!