2-37
1
2
4
4
2
6
7
8
2.5 Application Instructions
2.5.5 Data processing instructions
Table 2.22 Data Processing Instructions (Continued)
Category
Instruction Symbol
Symbol Processing Details Execution
Condition
Number of Basic Steps
Subset
See for Description
Sort
SORT
•Sorts data of n points from device
designated by (S1) in 16-bit units.
(n x (n-1)/2 scans required)
6 - 7-95
DSORT
•Sorts data of 2n points from device
designated by (S1) in 32-bit units.
(n x (n-1)/2 scans required)
Total va lu e
calculations
WSUM •Adds 16 bit BIN data of n points from the
device specified by (S), and stores it in
the device specified by (D).
4-
7-99
WSUMP
DWSUM •Adds 32 bit BIN data of n points from the
device specified by (S), and stores it in
the device specified by (D).
7-101
DWSUMP
Calculation
of averages
MEAN •Calculates the mean of n-point devices
(in 16-bit units) starting from the device
specified by (S), and then stores the
result into the device specified by (D).
4-
7-103
MEANP
DMEAN •Calculates the mean of n- point devices
(in 32-bit units) starting from the device
specified by (S), and then stores the
result into the device specified by (D).
DMEANP
SORTS2D1S1 nD2
· S2: Number of comparisons to be
made during a single run
· D1: Device to be turned ON at the
completion of sort
· D2: For system use
DSORTS1 n
· S2: Number of comparisons to be
made during a single run
· D1: Device to be turned ON at the
completion of sort
· D2: For system use
S2 D1 D2
WSUM nSD
WSUMP nSD
DWSUM nSD
DWSUMP nSD
MEAN SDn
MEANP SDn
DMEAN SDn
DMEANP SDn