欢迎访问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文件第96页浏览型号M32180F8TFP的Datasheet PDF文件第97页浏览型号M32180F8TFP的Datasheet PDF文件第98页浏览型号M32180F8TFP的Datasheet PDF文件第99页浏览型号M32180F8TFP的Datasheet PDF文件第101页浏览型号M32180F8TFP的Datasheet PDF文件第102页浏览型号M32180F8TFP的Datasheet PDF文件第103页浏览型号M32180F8TFP的Datasheet PDF文件第104页  
EIT  
4.8 Exception Processing  
4
4.8 Exception Processing  
4.8.1 Reserved Instruction Exception (RIE)  
[OccurrenceConditions]  
Reserved Instruction Exception (RIE) occurs when a reserved instruction (unimplemented instruction) is  
detected. Instruction check is performed on the op-code part of the instruction.  
When a reserved instruction exception occurs, the instruction that generated it is not executed. If an exter-  
nal interrupt is requested at the same time a reserved instruction exception is detected, it is the reserved  
instruction exception that is accepted.  
[EIT Processing]  
(1) Saving SM, IE and C bits  
The PSW register’s SM, IE and C bits are saved to the respective backup bits: BSM, BIE and BC.  
BSM  
SM  
IE  
C
BIE  
BC  
(2) Updating SM, IE and C bits  
The PSW register’s SM, IE and C bits are updated as shown below.  
SM  
IE  
C
Unchanged  
0
0
(3) Saving the PC  
The PC value of the instruction that generated the reserved instruction exception is set in the BPC register.  
For example, if the instruction that generated the reserved instruction exception is at address 4, the value 4  
is set in the BPC register. Similarly, if the instruction that generated the reserved instruction exception is at  
address 6, the value 6 is set in the BPC register. In this case, the value of the BPC register bit 30 indicates  
whether the instruction that generated the reserved instruction exception resides on a word boundary (BPC  
register bit 30 = "0") or not on a word boundary (BPC register bit 30 = "1").  
However, in either case of the above, the address to which the RTE instruction returns after the EIT handler  
has terminated is address 4. (This is because the 2 low-order address bits are cleared to ‘00’ when returned  
to the PC.)  
+0  
+1  
+2  
+3  
+0  
+1  
+2  
+3  
Address  
Address  
H'00  
H'04  
H'08  
H'0C  
H'00  
H'04  
H'08  
H'0C  
Return  
address  
Return  
address  
RIE occurred  
RIE occurred  
BPC  
H'04  
BPC  
H'06  
Figure 4.8.1 Example of a Return Address for Reserved Instruction Exception (RIE)  
32180 Group User’s Manual (Rev.1.0)  
4-11  
 复制成功!