170 likes | 252 Views
Learn how to convert binary numbers to hexadecimal, octal, and decimal formats using 2's complement method. Practice with examples provided.
E N D
32= 2^n n = 5 • 9 8 7 5 • 01001 01000 00111 00101
1 0 1 1 0 0 0 1 1 1 1 Hex: Oct: Dec:
(AFFD)16 = ()8 • (1422)10= ()16
1 1 0 0 1 1 1 – 1 0 1 1 0 0 1 • Use 2’s comp • 01101-11001
16: 0 1 0 0 0 0 -16: 1 1 0 0 0 0 17: 0 1 0 0 0 1 -17: 1 0 1 1 1 1 30: 0 1 1 1 1 0 18: 0 1 0 0 1 0 -18: 1 0 1 1 1 0 24: 0 1 1 0 0 0
16: 0 1 0 0 0 0 -16: 1 1 0 0 0 0 17: 0 1 0 0 0 1 -17: 1 0 1 1 1 1 30: 0 1 1 1 1 0 18: 0 1 0 0 1 0 -18: 1 0 1 1 1 0 24: 0 1 1 0 0 0