170 likes | 251 Views
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
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