參數(shù)資料
型號: μPD70F3003
廠商: NEC Corp.
英文描述: 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
中文描述: 16/32位單片機微控制器(16/32位單片微控制器)
文件頁數(shù): 110/141頁
文件大?。?/td> 374K
代理商: ΜPD70F3003
CHAPTER 6 INTERRUPT AND EXCEPTION
98
6.2.2 Exception trap
The exception trap is an interrupt requested when an instruction is illegally executed. The exception trap of the
V850 family is generated by an illegal op code instruction code trap (ILGOP: ILleGal OPcode trap).
An illegal op code instruction has an instruction code with an op code (bits 5 through 10) of 111111B and a sub-
op code (bits 23 through 26) of 0011B through 1111B. When this kind of an illegal op code instruction is executed,
an illegal op code instruction code trap occurs.
Figure 6-4. Illegal Instruction Code
Remark
×
: don’t care
: Op code/sub-op code portion
If an exception trap occurs, the CPU performs the following steps, and transfers control to the handler routine.
(1) Saves restore PC to EIPC.
(2) Saves current PSW to EIPSW.
(3) Writes exception code to lower 16 bits (EICC) of ECR.
(4) Sets EP and ID bits of PSW.
(5) Sets handler address (00000060H) for exception trap to PC and transfers control.
Figure 6-5 illustrates how the exception trap is processed.
Figure 6-5. Exception Trap Processing Format
The execution address of the illegal instruction is obtained by “restore PC - 4” when an exception trap occurs.
Caution In addition to the defined op codes and illegal op codes, there is a range of codes not recognized
by this processor. If an instruction corresponding to these codes is executed, normal operation
is undetermined.
EIPC
EIPSW
ECR.EICC
PSW.EP
PSW.ID
PC
Restore PC
PSW
Exception code
1
1
00000060H
Exception Trap
(ILGOP) Occurs
Exception Processing
× × ×
× ×
×
× ×
× × ×
× ×
× ×
0
0
1
1
1
1
1
1
× × × ×
× × ×
15
13 12 11 10
5
4
0 31
27 26
23 22 21 20
17 16
1
1
1
1
1
1
相關PDF資料
PDF描述
μPD703008 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD703008Y 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
μPD70F3008 16/32 Bit Single Chip Microcontrollers(16/32 位單片微控制器)
μPD70F3008Y 16/32 Bit RISC Microcontrollers(16/32位RISC微控制器)
μPD70F3015GC-17-8ED 32 Bit RISC Microcontrollers(32位RISC微控制器)
相關代理商/技術參數(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