ASCII table
十進位
3210
3569
=3*10^3+5*10^2+6*10^1+9*10^0
=3569
3569/10=356...9
356/10=35 ...6
35/10=3 ...5
3/10=0 ...3
二進位
76543210
01111110
=1*2^6+1*2^5+1*2^4+1*2^3+1*2^2+1*2^1
=64+32+16+8+4+2
=126
126/2=63...0
63/2=31...1
31/2=15...1
15/2=7 ...1
7/2=3 ...1
3/2=1 ...1
1/2=0 ...1
八進位
210
372
=3*8^2+7*8^1+2*8^0
=192+56+2
=250
250/8=31...2
31/8=3 ...7
3/8=0 ...3
十六進位
10 11 12 13 14 15
A B C D E F
10
EB
=14*16^1+11*16^0
=224+11
=235
235/16=14...11 B
14/16=0 ...14 E |