300
Conversion Instructions
Section 5-20
Example
The following example shows the data to produce an 8. The lower case letters
show which bits correspond to which segments of the 7-segment display. The
table underneath shows the original data and converted code for all hexadec-
imal digits.
Original data
Converted code (segments)
Display
Digit
Bits
–
g
f
e
d
c
b
a
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
1
0
0
1
1
0
0
0
0
2
0
0
1
0
0
0
1
1
0
0
1
1
3
0
0
1
1
0
0
1
1
0
0
1
1
4
0
1
0
0
0
0
1
1
0
1
0
0
5
0
1
0
1
0
0
1
1
0
1
0
1
6
0
1
1
0
0
0
1
1
0
1
0
1
7
0
1
1
1
0
0
1
1
0
1
1
1
8
1
0
0
0
0
0
1
1
1
0
0
0
9
1
0
0
1
0
0
1
1
1
0
0
1
A
1
0
1
0
0
1
0
0
0
0
0
1
B
1
0
1
1
0
1
0
0
0
0
1
0
C
1
1
0
0
0
1
0
0
0
0
1
1
D
1
1
0
1
0
1
0
0
0
1
0
0
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
2
0
2
1
2
2
2
3
0
1
0
0
0
0
0
1
0
1
1
1
1
0
1
1
0
1
2
3
1
1
1
1
1
1
1
0
DM 0010
IR 100
g
f
b
c
d
e
a
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
x10
0
x10
1
x10
2
x10
3
0: One digit
0 or 1:
0 Bits 00 through 07
1 Bits 08 through 15.
Not used.
a
b
c
d
e
f
g
Bit 07
8
1: Second digit
LR 07
Bit 00
00000
@ SDEC(78)
DM 0010
LR 07
100