H 44444444
H 22222222
H 00000000
H EEEEEEEE
ValueValue
Example 3) Operation unit: 32 bits (UL) (specify a 32-bit device)
[S1]…TS10 [S2]…TS14 [D]…TS100
TS10
H 33333333
TS11
TS12
[i]…UL
TS100・TS101
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
<Total/mean calculation range>
H 55555555
TS13
TS14
<Output result>
Total value
([D] and [D]+1)
* Unsigned 64-bit integer
H 2FC962FC
Value
TS102
* Unsigned 32-bit integer
Mean value ([D]+2)
Example 4) Operation unit: 32 bits (SL) (specify a 32-bit device)
K -4000
K 2000
K 1000
K -9000
ValueValue
[S1]…TS10 [S2]…TS14 [D]…TS100
TS10
K -3000
TS11
TS12
[i]…SL
TS100・TS101
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
<Total/mean calculation range>
K -5000
TS13
TS14
<Output result>
* Signed 64-bit integer
K -1800
Value
TS102
* Signed 32-bit integer
Mean value ([D]+2)
Total value
([D] and [D]+1)
Example 5) Operation unit: 32 bits (UL) (specify a 16-bit device)
H 77776666
H 33332222
H 1111000 0
H 11110 CCCC
ValueValue
[S1]…DT10 [S2]…DT14 [D]…DT100
DT10・DT11
H 55554444
DT12・DT13
DT14・DT15
[i]…UL
DT100-DT103
Total value is given in 64-bit data, and the mean value is given in 32-bit data.
<Total/mean calculation range>
DT16・DT17
<Output result>
* Unsigned 64-bit integer
H 44443333
Value
* Unsigned 32-bit integer
Mean value
([D]+4, [D]+5)
Total value
([D] to [D]+3)
DT104・DT105
10.5 MEAN (Acquiring the Total and the Mean Value)
WUME-FP7CPUPGR-12 10-21