CHAPTER 3 CPU FUNCTIONS
User’s Manual U15109EJ3V0UD
91
(2/2)
Z
Detection of operation result zero
0
The operation result was not 0.
1
The operation result was 0.
Note
The result of a saturation-processed operation is determined by the contents of the OV and S bits in the
saturation operation. Simply setting (1) the OV bit will set (1) the SAT bit in a saturation operation.
Flag status
Status of operation result
SAT
OV
S
Saturation-processed
operation result
Maximum positive value exceeded
1
1
0
7FFFFFFFH
Maximum negative value exceeded
1
1
1
80000000H
Positive (not exceeding the maximum)
0
Negative (not exceeding the maximum)
Retains
the value
before
operation
0
1
Operation result itself