110
Chapter 3
CPU System Functions
Preliminary User’s Manual U17566EE1V2UM00
Saturated operation
instructions
The following table shows the setting of flags PWS.SAT, PWS.OV, and PWS.S,
depending on the status of the operation result.
a)
In the case of saturate instructions, the SAT, S, and OV flags will be set according to the result of the operation
as shown in the table below. Note that the SAT flag is set only when the OV flag has been set during a satu-
rated operation.
Table 3-6
Saturation-processed operation result
Status of operation result
Flag status
Saturation-processed
operation result
SAT
OV
S
Maximum positive value exceeded
1
1
0
7FFF FFFF
H
Maximum negative value exceeded
1
1
1
8000 0000
H
Positive (maximum not exceeded)
x
a
a)
Retains the value before operation.
0
0
Operation result itself
Negative (maximum not exceeded)
1
electronic components distributor