- 116 -
No.JXC#-OMX0009-A
23.2 Relationship of binary (BIN), decimal (OCT), and hexadecimal (HEX) numbers
The following describes the relationship of binary (BIN), decimal (OCT), and hexadecimal (HEX)
numbers.
E.g.) 1 byte
Binary
(BIN)
Decimal
(OCT)
Hexadecimal
(HEX)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
1
0
2
2
0
0
0
0
0
0
1
1
3
3
0
0
0
0
0
1
0
0
4
4
0
0
0
0
0
1
0
1
5
5
0
0
0
0
0
1
1
0
6
6
0
0
0
0
0
1
1
1
7
7
0
0
0
0
1
0
0
0
8
8
0
0
0
0
1
0
0
1
9
9
0
0
0
0
1
0
1
0
10
A
0
0
0
0
1
0
1
1
11
B
0
0
0
0
1
1
0
0
12
C
0
0
0
0
1
1
0
1
13
D
0
0
0
0
1
1
1
0
14
E
0
0
0
0
1
1
1
1
15
F
0
0
0
1
0
0
0
0
16
10
0
0
0
1
0
0
0
1
17
11
~
~
~
0
0
0
1
1
1
1
0
30
1E
0
0
0
1
1
1
1
1
31
1F
0
0
1
0
0
0
0
0
32
20
0
0
1
0
0
0
0
1
33
21
~
~
~
0
0
1
1
1
1
1
0
62
3E
0
0
1
1
1
1
1
1
63
3F
0
1
0
0
0
0
0
0
64
40
0
1
0
0
0
0
0
1
65
41
~
~
~
0
1
1
1
1
1
1
0
126
7E
0
1
1
1
1
1
1
1
127
7F
1
0
0
0
0
0
0
0
128
80
1
0
0
0
0
0
0
1
129
81
~
~
~
1
1
1
1
1
1
1
0
254
FE
1
1
1
1
1
1
1
1
255
FF