欢迎访问ic37.com |
会员登录 免费注册
发布采购

M32180F8TFP 参数 Datasheet PDF下载

M32180F8TFP图片预览
型号: M32180F8TFP
PDF下载: 下载PDF文件 查看货源
内容描述: 32位RISC单芯片微型计算机M32R系列M32R / ECU系列 [32-Bit RISC Single-Chip Microcomputers M32R Family M32R/ECU Series]
分类和应用: 计算机
文件页数/大小: 839 页 / 3694 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号M32180F8TFP的Datasheet PDF文件第93页浏览型号M32180F8TFP的Datasheet PDF文件第94页浏览型号M32180F8TFP的Datasheet PDF文件第95页浏览型号M32180F8TFP的Datasheet PDF文件第96页浏览型号M32180F8TFP的Datasheet PDF文件第98页浏览型号M32180F8TFP的Datasheet PDF文件第99页浏览型号M32180F8TFP的Datasheet PDF文件第100页浏览型号M32180F8TFP的Datasheet PDF文件第101页  
EIT  
4.5 Acceptance of EIT Events  
4
4.5 Acceptance of EIT Events  
When an EIT event occurs, the CPU suspends the program it has hitherto been executing and branches to EIT  
processing by the relevant handler. Conditions under which each EIT event occurs and the timing at which they are  
accepted are shown below.  
Table 4.5.1 Acceptance of EIT Events  
EIT Event  
Type of Processing  
Acceptance Timing  
Values Set in BPC Register  
Reserved Instruction  
Exception (RIE)  
Instruction processing-  
canceled type  
During instruction execution  
PC value of the instruction that  
generated RIE  
Address Exception (AE)  
Instruction processing-  
canceled type  
During instruction execution  
Break in instructions  
PC value of the instruction that  
generated AE  
Floating-Point Exception Instruction processing-  
(FPE)  
PC value of the instruction that  
generated FPE + 4  
completed type  
Reset Interrupt (RI)  
Instruction processing-  
aborted type  
Each machine cycle  
Undefined value  
System Break Interrupt  
(SBI)  
Instruction processing-  
completed type  
Break in instructions  
(word boundary only)  
Break in instructions  
(word boundary only)  
PC value of the next instruction  
PC value of the next instruction  
PC value of TRAP instruction + 4  
External Interrupt (EI)  
Instruction processing-  
completed type  
Trap (TRAP)  
Instruction processing-  
completed type  
Break in instructions  
4.6 Saving and Restoring the PC and PSW  
The following describes operation of the microcomputer at the time when it accepts an EIT and when it executes the  
RTE instruction.  
(1) Hardware preprocessing when an EIT is accepted  
[1] Save the PSW register’s SM, IE and C bits in its backup field.  
BSM  
BIE  
BC  
SM  
IE  
C
[2] Update the PSW register’s SM, IE and C bits  
SM  
IE  
C
Remains unchanged (RIE, AE, FPE, TRAP) or cleared to "0" (SBI, EI, RI)  
Cleared to "0"  
Cleared to "0"  
[3] Save the PC register  
BPC PC  
[4] Set the vector address in the PC register  
Branches to the EIT vector and executes the branch (BRA) instruction written in it, thereby transferring  
control to the user-created EIT handler.  
(2) Hardware postprocessing when the RTE instruction is executed  
[A] Restore the PSW register’s SM, IE and C bits from its backup field.  
SM  
IE  
C
BSM  
BIE  
BC  
[B] Restore the PC register from the BPC register.  
PC BPC  
Note: • The values stored in the BPC and the PSW register’s BSM, BIE and BC bits after executing the RTE  
instruction are undefined.  
32180 Group User’s Manual (Rev.1.0)  
4-8  
 复制成功!