參數(shù)資料
型號(hào): μPD70F3008
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機(jī)微控制器(16/32位單片微控制器)
文件頁數(shù): 76/141頁
文件大?。?/td> 374K
代理商: ΜPD70F3008
CHAPTER 5 INSTRUCTION
64
RETI
Return from Trap or Interrupt
Instruction format
RETI
Operation
if PSW.EP = 1
then PC
PSW
EIPSW
else if PSW.NP = 1
then PC
EIPC
FEPC
PSW
FEPSW
else PC
PSW
EIPSW
EIPC
Format
Format X
Op code
15
0 31
16
0000011111100000 0000000101000000
Flag
CY
OV
S
Z
SAT
Value read from FEPSW or EIPSW is restored.
Value read from FEPSW or EIPSW is restored.
Value read from FEPSW or EIPSW is restored.
Value read from FEPSW or EIPSW is restored.
Value read from FEPSW or EIPSW is restored.
Instruction
RETI Return from Trap or Interrupt
Explanation
This instruction restores the return PC and PSW from the appropriate system register and
returns from an exception or interrupt routine. The operations of this instruction are as follows:
(1) If the EP flag of the PSW is 1, the return PC and PSW are read from the EIPC and EIPSW,
regardless of the status of the NP flag of the PSW.
If the EP flag of the PSW is 0 and the NP flag of the PSW is 1, the return PC and PSW
are read from the FEPC and FEPSW.
If the EP flag of the PSW is 0 and the NP flag of the PSW is 0, the return PC and PSW
are read from the EIPC and EIPSW.
(2) Once the PC and PSW are restored to the return values, control is transferred to the return
address.
相關(guān)PDF資料
PDF描述
μPD70F3008Y 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD70F3015GC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3015YGC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3017GC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
μPD70F3017S2-17-YJC 32 Bit RISC Microcontrollers(32位RISC微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PD70F3559 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3560 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3561 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F3564 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:32-bit Single-Chip Microcontroller
PD70F40 制造商:SANREX 制造商全稱:SanRex Corporation 功能描述:THRISTOR MODULE