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 0000110000
1 0 0 0100110000
2 0 0 1000110011
3 0 0 1100110011
4 0 1 0000110100
5 0 1 0100110101
6 0 1 1000110101
7 0 1 1100110111
8 1 0 0000111000
9 1 0 0100111001
A 1 0 1001000001
B 1 0 1101000010
C 1 1 0001000011
D 1 1 0101000100
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
fb
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