57
2
3
4
5
6
7
8
2.5
A
pp
lication Instr
uctions
2.5.5
D
ata pro
cessing instructio
ns
Category
Inst
ructi
on Sym
b
o
l
Symbol
Processing Details
Execution
Condition
Num
b
er o
f Ba
sic S
tep
s
Sub
set
See f
o
r Des
cr
iptio
n
Bit checks
SUM
3
SUMP
DSUM
3
DSUMP
Decode
DECO
4
-
DECOP
Encode
ENCO
4
-
ENCOP
7-segment
decode
SEG
3
SEGP
Separating
and linking
DIS
• Separates 16-bit data designated by (S) into
4-bit units, and stores at the lower 4 bits of n
points from (D). (n
4)
4
-
DISP
UNI
• Links the lower 4 bits of n points from the
device designated by (S) and stores at the
device designated by (D). (n
4)
4
-
UNIP
NDIS
• Separates the data in the devices starting
from the one specified by (S1) into bits
specified by the devices from (S2), and stores
them to the devices starting from the one
specified by (D).
4
-
NDISP
NUNI
• Links the data in the devices starting from the
one specified by (S1) with bits specified by
the devices from (S2), and stores them to the
devices starting from the one specified by (D).
NUNIP
WTOB
• Breaks n points of 16-bit data from the device
designated by (S) into 8-bit units, and stores
in sequence at the device designated by (D).
4
-
WTOBP
BTOW
• Links the lower 8 bits of 16-bit data of n points
from the device designated by (S) into 16-bit
units, and stores in sequence at the device
designated by (D).
BTOWP
SUM
S
D
b0
b
1
5
(S)
(D): N
u
m
ber
o
f 1
s
SUMP
S
D
DSUM
S
D
(S)
(S + 1)
(D): N
u
m
ber
o
f 1
s
DSUMP
S
D
DECO
n
D
S
(D)
D
eco
d
e
D
eco
d
e
f
ro
m
8
to
2
56
(S)
n
2
n
b
i
ts
DECOP
n
D
S
ENCO
n
D
S
(S)
En
co
d
e
(D)
n
2
b
i
ts
n
D
eco
d
e
f
ro
m 2
56
to
8
ENCOP
n
D
S
SEG
S
D
(S)
(D)
7
S
E
G
0
to
SEGP
S
D
DIS
n
S
D
DISP
n
S
D
UNI
n
S
D
UNIP
n
S
D
NDIS
S1
S2
D
NDISP
S1
S2
D
NUNI
S1
S2
D
NUNIP
S1
S2
D
WTOB
n
S
D
WTOBP
n
S
D
BTOW
n
S
D
BTOWP
n
S
D