7-20
Section
Conversion Instructions
445
Some example Di values and the word-to-digit conversions that they produce
are shown below.
0
1
2
3
R
Di: 0011
S
S + 1
0
1
2
3
S
S + 1
S + 2
S + 3
Di: 0030
R
S
S + 1
S + 2
S + 3
0
1
2
3
Di: 0032
R
Di: 0013
0
1
2
3
S
S + 1
R
Flags
ER:
Undefined digit designator, or S plus number of digits exceeds a data
area.
Content of a source word is zero.
Indirectly addressed DM word is non-existent. (Content of
*
DM word is
not BCD, or the DM area boundary has been exceeded.)
When 00000 is ON, the following diagram encodes IR words 200 and 201 to the
first two digits of HR 10 and then encodes LR 10 and 11 to the last two digits of
HR 10. Although the status of each source word bit is not shown, it is assumed
that the bit with status 1 (ON) shown is the highest bit that is ON in the word.
00000
DMPX(77)
200
HR 10
#0010
LR 10
HR 10
#0012
IR 200
01000
:
01011
1
01012
0
: :
:
01015
0
LR 10
LR 1000
LR 1001 1
LR 1002 0
: :
:
: :
:
LR 1015 0
Digit 0
IR 201
01100
:
01109
1
01110
0
: :
:
01115
0
Digit 1
Digit 2
Digit 3
B
9
1
8
LR 11
LR 1100
:
LR 1108 1
LR 1109 0
: :
:
LR 1115 0
HR 10
DMPX(77)
Address
Instruction
Operands
00000
LD
00000
00001
DMPX(77)
200
HR
10
#
0010
00002
DMPX(77)
LR
10
HR
10
#
0012
Example