upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 68

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
(5)
68
Maximum positive value is exceeded.
Maximum negative value is exceeded.
Positive (maximum value is not exceeded) Holds value before
Negative (maximum value is not exceeded)
CTPSW
CTPC
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 (fixed to 0) for future function
expansion.
The values of CTPC and CTPSW are restored to PC and PSW during execution of the CTRET
instruction.
Figure 3-7: CALLT Execution Status Saving Registers (CTPC and CTPSW) Format
Status of operation result
31
31
0
0
0
0
0 0 0 0
0 0 0 0
Figure 3-6: Program Status Word (PSW) Format (2/2)
26 25
0
0
0 0 0 0
User’s Manual U16702EE3V2UD00
Chapter 3 CPU Function
operation
0
0
0 0 0 0
SAT
1
1
(PC contents)
0
Flag status
0
0 0 0 0
OV
1
1
0
8
(PSW contents)
S
0
1
0
1
7FFFFFFFH
80000000H
Operation result itself
Result of operation of
saturation processing
0
0
(x: Undefined)
(x: Undefined)
000000xxH
0xxxxxxxH
After reset
After reset

Related parts for upd70f3402