2.5.5
Data processing instructions
Category
SER
SER
SERP
SERP
Data
searches
DSER
DSER
DSERP
DSERP
SUM
SUMP
Bit checks
DSUM
DSUMP
DECO
Decode
DECOP
ENCO
Encode
ENCOP
7-seg-
SEG
ment
SEGP
decode
Table 2.22 Data Processing Instructions
Symbol
(S1)
S1 S2 D
n
S1 S2 D
n
32 bits
S1 S2 D
n
(S1)
S1 S2 D
n
SUM
S D
b15
SUMP
S D
DSUM
S D
(S + 1)
DSUMP
S D
Decode from 8 to 256
DECO
S
D
n
(S)
DECOP
S
D
n
Decode from 256 to 8
ENCO
S
D
n
(S)
ENCOP
S
D
n
SEG
S D
SEGP
S D
Processing Details
(S2)
n
(D): Match No.
(D + 1): Number of matches
(S2)
n
(D): Match No.
(D + 1): Number of matches
(S)
b0
(D): Number of 1s
(S)
(D): Number of 1s
(D)
Decode
n
2
bits
n
(D)
Encode
n
2 bits
n
to
0
(S)
(D)
7SEG
Execution
Condition
5
-
7-66
5
-
3
7-69
3
4
-
7-71
4
-
7-73
3
7-75
2-35
1
2
4
4
2
6
7
8