CHAPTER 3 CPU FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
67
Note
The result of the operation that has performed saturation processing is determined by the contents of the
OV and S flags. The SAT flag is set to 1 only when the OV flag is set to 1 when a saturation operation is
performed.
Flag Status
Status of Operation Result
SAT
OV
S
Result of Operation of
Saturation Processing
Maximum positive value is exceeded.
1
1
0
7FFFFFFFH
Maximum negative value is exceeded.
1
1
1
80000000H
Positive (maximum value is not exceeded)
0
Negative (maximum value is not exceeded)
Holds value
before operation
0
1
Operation result itself
(5) CALLT execution status saving registers (CTPC and CTPSW)
CTPC and CTPSW are CALLT execution status saving registers.
When the CALLT instruction is executed, the contents of the program counter (PC) are saved to CTPC, and
those of the program status word (PSW) are saved to CTPSW.
The contents saved to CTPC are the address of the instruction next to CALLT.
The current contents of the PSW are saved to CTPSW.
Bits 31 to 26 of CTPC and bits 31 to 8 of CTPSW are reserved for future function expansion (fixed to 0).
31
0
CTPC
(Contents of PC)
0
0
Default value
0xxxxxxxH
(x: Undefined)
26 25
0 0 0 0
31
0
CTPSW
(Contents of PSW)
0
0
Default value
00000xxxH
(x: Undefined)
11
12
10 9 8
0 0 0 0
0
0
0 0 0 0
0
0
0 0 0 0
0
0
0 0 0 0
Summary of Contents for V850ES/SA2 UPD703201
Page 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Page 285: ... 6 7 ...
Page 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...