COM1100 -- Winter2000 -- Yuhong Yin
12
Decimal number to binary number
n(123)10 = ( ? )2
nShow ½ Show the remainder
n 123 1 (LSB)
n   61 1
n   30 0
n   15 1
n    7 1
n       3 1
n    1 1
n    0 0 (MSB)
nSo, (123)10 = ( 0111 1011 )2