请将254d分别转换成二进制,八进制和十六进制数.并写出计算过程
1个回答
展开全部
254/16=15 余数14,十六进制形式E,二进制形式1110
15/16=0 余数15,十六进制形式F,二进制形式1111
254d=FEh=11111110b=011111110b=376o
每3位二进制数转换成1位八进制数:000~111 <=> 0~7:
000 <=> 0
001 <=> 1
010 <=> 2
011 <=> 3
100 <=> 4
101 <=> 5
110 <=> 6
111 <=> 7
每4位二进制数转换成1位十六进制数:0000~1001 <=> 0~9,1010~1111 => A~F
0000 <=> 0
0001 <=> 1
0010 <=> 2
0011 <=> 3
0100 <=> 4
0101 <=> 5
0110 <=> 6
0111 <=> 7
1000 <=> 8
1001 <=> 9
1010 <=> A
1011 <=> B
1100 <=> C
1101 <=> D
1110 <=> E
1111 <=> F
15/16=0 余数15,十六进制形式F,二进制形式1111
254d=FEh=11111110b=011111110b=376o
每3位二进制数转换成1位八进制数:000~111 <=> 0~7:
000 <=> 0
001 <=> 1
010 <=> 2
011 <=> 3
100 <=> 4
101 <=> 5
110 <=> 6
111 <=> 7
每4位二进制数转换成1位十六进制数:0000~1001 <=> 0~9,1010~1111 => A~F
0000 <=> 0
0001 <=> 1
0010 <=> 2
0011 <=> 3
0100 <=> 4
0101 <=> 5
0110 <=> 6
0111 <=> 7
1000 <=> 8
1001 <=> 9
1010 <=> A
1011 <=> B
1100 <=> C
1101 <=> D
1110 <=> E
1111 <=> F
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询