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