upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 128
upd70f3017ay
Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.UPD70F3017AY.pdf
(492 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
- Current page: 128 of 492
- Download datasheet (4Mb)
5.4.2 Restore
128
To restore or return execution from the software exception service routine, the RETI instruction is used.
(1) Restores the restored PC and PSW from EIPC and EIPSW because the EP bit of the PSW is 1.
(2) Transfers control to the address of the restored PC and PSW.
Caution When the PSW.EP bit and the PSW.NP bit are changed by the LDSR instruction during the
Remark
Operation of RETI instruction
When the RETI instruction is executed, the CPU performs the following steps, and transfers control to the address
of the restored PC.
The processing of the RETI instruction is shown below.
software exception process, in order to restore the PC and PSW correctly during recovery by
the RETI instruction, it is necessary to set PSW.EP back to 1 using the LDSR instruction
immediately before the RETI instruction.
The solid line shows the CPU processing flow.
1
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
Original processing restored
PC
PSW
RETI instruction
Figure 5-11. RETI Instruction Processing
PSW.EP
PSW.NP
0
0
EIPC
EIPSW
User’s Manual U12768EJ4V1UD
1
PC
PSW
FEPC
FEPSW
Related parts for upd70f3017ay
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
FLASH PROGRAMMER FOR RENESAS MICROCONTROLLERS
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Manufacturer:
Renesas Electronics Corporation.
Datasheet: