DL205 User Manual, 4th Edition, Rev. B
5–56
Chapter 5: Standard RLL Instructions - Accumulator/Stack Load and Output Data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Changing the Accumulator Data
Instructions that manipulate data also use the accumulator. The result of the manipulated
data resides in the accumulator. The data that was being manipulated is cleared from the
accumulator. The following example loads the constant value 4935 into the accumulator,
shifts the data right 4 bits, and outputs the result to V1410.
Some of the data manipulation instructions use 32 bits. They use two consecutive V-memory
locations or an 8-digit BCD constant to manipulate data in the accumulator.
The following example rotates the value 67053101 two bits to the right and outputs the value
to V1410 and V1411.
LD
K4935
X1
L
oad
the v
a
lue
4935
int
o
the
a
cc
u
m
ul
a
t
o
r
S
hi
f
t the
da
t
a
in the
a
cc
u
m
ul
a
t
o
r
4
b
it
s
(
K4
)
t
o
the
r
i
g
ht
O
ut
p
ut the l
o
w
e
r
1
6
b
it
s
o
f
the
a
cc
u
m
ul
a
t
o
r
t
o
V
1
4
1
0
0
1
0
0
1
0
0
1
0
0
1
1
0
1
0
1
C
o
n
s
t
a
nt
V
1
4
1
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5
1
4
1
3
1
2
11 1
0
9
8
7
6
5
4
3
2
1
0
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
22 2
1
2
0
1
9
1
8
1
7
1
6
S
hi
f
te
d
o
ut
o
f
a
cc
u
m
ul
a
t
o
r
0
4
9
3
4
9
3
5
S
HFR
K4
O
UT
V
1
4
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
22 2
1
2
0
1
9
1
8
1
7
1
6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
T
he u
pp
e
r
1
6
b
it
s
o
f
the
a
cc
u
m
ul
a
t
o
r
w
ill
b
e
s
et t
o
0
1
5
1
4
1
3
1
2
11 1
0
9
8
7
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