267
Conversion Instructions Section 5-19
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 00000110000
1 0 00100110000
2 0 01000110011
3 0 01100110011
4 0 10000110100
5 0 10100110101
6 0 11000110101
7 0 11100110111
8 1 00000111000
9 1 00100111001
A 1 0 1001000001
B 1 0 1101000010
C 1 1 0001000011
D 1 1 0101000100
E 1 1 1001000101
F 1 11101000110
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