0
0
1
5
0
0
0
8
1
3
5
7
DT10
DT11
DT12
DT13
DT14
DT15
DT16
DT17
[D1]
[D2]
Example of data table shift-out and compress when DT10, DT17 and DT20 are respectively specified
for [D1], [D2] and [D3].
0
0
3
7
DT10
DT11
DT12
DT13
DT14
DT15
DT16
DT17
[D1]
[D2]
8 [D3]DT20
■
Processing
1. The buffer end is transferred to read data.
2. The data are compressed, excluding the data containing buffer end.
H 8
H 0
H 0
H 1
H 5
H 0
H 0
H 0
H 8
H 1
H 3
H 5
H 7
DT0
DT1
DT2
DT3
DT4
DT5
DT6
DT7
Example) Operation unit: 16 bits (US, SS) (executed twice)
H 0
H 0
H 3
H 7
DT0
DT1
DT2
DT3
DT4
DT5
DT6
DT7
H 8DT10
DT8
H 9
DT8
[D1]…DT1 [D2]…DT7 [D3]…DT10
First execution
②
Compression
① Read data move
H 9
H 0
H 0
H 0
H 3
H 0
H 0
H 3
H 7
H 0
H 0
H 1
H 5
DT0
DT1
DT2
DT3
DT4
DT5
DT6
DT7
H 0
H 0
H 1
H 5
DT0
DT1
DT2
DT3
DT4
DT5
DT6
DT7
H 7DT10
DT8
H 9
DT8
Second execution
②
Compression
① Read data move
[i]…US,SS
■
Precautions during programming
● In the case of a direct address and index modification address, specify the same device for
[D1] and [D2]. At the same time, specify [D2] to be greater than or equal to [D1].
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
To be set when [D1] is larger than [D2].
8.15 CMPR (Data Table Shift-Out and Compress)
WUME-FP7CPUPGR-12 8-31