● If the specified number of shift words is larger than the shift target range, the entire shift
target range is padded with H0000.
■
Processing
Example 1) Operation unit: 16 bits (US)
[D1]…DT1 [D2]…DT7 [n]…U3
DT9 DT8 DT7 DT6 DT5 DT4 DT3 DT2 DT1 DT0
5678 1234 EEFF CCDD AABB 8899 6677 4455 2233 0011
The shifted bits are padded with H 0000.
(HEX)
5678 1234 0000 0000 0000 EEFF CCDD AABB 8899 0011 (HEX)
DT9 DT8 DT7 DT6 DT5 DT4 DT3 DT2 DT1 DT0
Example 2) Operation unit: 16 bits (SS)
[D1]…DT1 [D2]…DT7 [n]…K2
DT9 DT8 DT7 DT6 DT5 DT4 DT3 DT2 DT1 DT0
5678 1234 EEFF CCDD AABB 8899 6677 4455 2233 0011
The shifted bits are padded with H 0000.
(HEX)
5678 1234 0000 0000 EEFF CCDD AABB 8899 6677 0011 (HEX)
DT9 DT8 DT7 DT6 DT5 DT4 DT3 DT2 DT1 DT0
[i]…US
[i]…SS
■
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].
To be set when [n] (specified number of shift words) is out of the available range.
8.7 WSHR (Right Shift of Block Area for n Words)
WUME-FP7CPUPGR-12 8-15