NEC V850E/Dx3 Preliminary User's Manual page 110

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 3
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.
Saturated operation
110
Downloaded from
Elcodis.com
electronic components distributor
The following table shows the setting of flags PWS.SAT, PWS.OV, and PWS.S,
instructions
depending on the status of the operation result.
Table 3-6
Saturation-processed operation result
Status of operation result
Maximum positive value exceeded
Maximum negative value exceeded
Positive (maximum not exceeded)
Negative (maximum not exceeded)
a)
Retains the value before operation.
Preliminary User's Manual U17566EE1V2UM00
CPU System Functions
Flag status
Saturation-processed
operation result
SAT
OV
S
1
1
0
7FFF FFFF
1
1
1
8000 0000
H
0
Operation result itself
a
x
0
1
H

Advertisement

Table of Contents
loading

Table of Contents