● The total value uses twice the area size of the operation unit, and the mean value uses the
same area size as the operation unit. Note that, in the case of floating point real number
(SF), the total value also uses the same area size as the operation units.
● The maximum amount of data that can be specified is 30,000.
● When the operation unit is US, SS, UL or SL, the mean value is given as an integer rounding
the first decimal point down.
● [D] is in the following format according to the operation unit.
Operatio
n unit
16 bits (US, SS) 32 bits (UL, SL) 32 bits (SF) 64 bits (DF)
Outpu
t
conte
nt
Device
size
16 bit 32 bit 16 bit 32 bit 16 bit 32 bit 16 bit 32 bit
Result
storage
area
[D] to [D
+1]
Cannot
specify
[D] to [D
+3]
[D] to [D
+1]
[D]
[D] to [D
+3]
[D] to [D
+1]
Total
value
[D+2]
Cannot
specify
[D+4] to
[D+5]
[D+2]
[D+2] to
[D+3]
[D+1]
[D+4] to
[D+7]
[D+2] to
[D+3]
Mean
value
■
Processing
H 5555
H 111 1
H 00028886
Value
Value
Example 1) Operation unit: 16 bits (US)
[S1]…DT10 [S2]…DT14 [D]…DT100
DT10
H 7777
DT11
DT12
[i]…US
DT100・DT101
Total value is given in 32-bit data, and the mean value is given in 16-bit data.
<Total/mean calculation range>
H FFFF
H AAAA
DT13
DT14
<Output result>
Total value
([D] and [D]+1)
* Unsigned 32-bit integer
H 81B4
Value
DT102
* Unsigned 16-bit integer
Mean value ([D]+2)
K -33
K 11
K -55
Value
Value
Example 2) Operation unit: 16 bits (SS)
[S1]…DT10 [S2]…DT14 [D]…DT100
DT10
K 44
DT11
DT12
[i]…SS
DT100・DT101
Total value is given in 32-bit data, and the mean value is given in 16-bit data.
<Total/mean calculation range>
K -22
K 55
DT13
DT14
<Output result>
Total value
([D] and [D]+1)
* Signed 32-bit integer
K 11
Value
DT102
* Signed 16-bit integer
Mean value ([D]+2)
10.5 MEAN (Acquiring the Total and the Mean Value)
10-20 WUME-FP7CPUPGR-12