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

R5F21134DFP 参数 Datasheet PDF下载

R5F21134DFP图片预览
型号: R5F21134DFP
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机M16C族/ R8C / Tiny系列 [16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES]
分类和应用: 微控制器和处理器外围集成电路计算机时钟
文件页数/大小: 224 页 / 2076 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号R5F21134DFP的Datasheet PDF文件第73页浏览型号R5F21134DFP的Datasheet PDF文件第74页浏览型号R5F21134DFP的Datasheet PDF文件第75页浏览型号R5F21134DFP的Datasheet PDF文件第76页浏览型号R5F21134DFP的Datasheet PDF文件第78页浏览型号R5F21134DFP的Datasheet PDF文件第79页浏览型号R5F21134DFP的Datasheet PDF文件第80页浏览型号R5F21134DFP的Datasheet PDF文件第81页  
R8C/13 Group  
10.4 Address Match Interrupt  
10.4 Address Match Interrupt  
An address match interrupt is generated immediately before executing the instruction at the address  
indicated by the RMADi register (i=0, 1). Set the start address of any instruction in the RMADi register.  
Use the AIER0 and AIER1 bits in the AIER register to enable or disable the interrupt. Note that the  
address match interrupt is unaffected by the I flag and IPL.  
The value of the PC that is saved to the stack when an address match interrupt is acknowledged varies  
depending on the instruction at the address indicated by the RMAD i register (see the paragraph register  
savingfor the value of the PC). Not appropriate return address is pushed on the stack. There are two  
ways to return from the address match interrupt as follows:  
Change the content of the stack and use a REIT instruction.  
Use an instruction such as POP to restore the stack as it was before an interrupt request was acknowl-  
edged. And then use a jump instruction.  
Table 10.6 lists the value of the PC that is saved to the stack when an address match interrupt is acknowl-  
edged.  
Figure 10.17 shows the AIER, and RMAD1 to RMAD0 registers.  
Table 10.6 Value of PC Saved to Stack when Address Match Interrupt Acknowledged  
(1)  
Address indicated by RMADi register (i=0,1)  
16-bit operation code instruction  
PC value saved  
Address indicated by  
RMADi register + 2  
Instruction shown below among 8-bit operation code instructions  
ADD.B:S #IMM8,dest SUB.B:S #IMM8,dest AND.B:S #IMM8,dest  
OR.B:S  
STNZ.B:S #IMM8,dest STZX.B:S #IMM81,#IMM82,dest  
CMP.B:S #IMM8,dest PUSHM src POPM dest  
JMPS #IMM8 JSRS #IMM8  
#IMM8,dest MOV.B:S #IMM8,dest STZ.B:S #IMM8,dest  
MOV.B:S #IMM,dest (However, dest = A0 or A1)  
Instructions other than the above  
Address indicated by  
RMADi register + 1  
NOTES:  
1. See the paragraph saving registersfor the PC value saved.  
Table 10.7 Relationship Between Address Match Interrupt Sources and Associated Registers  
Address match interrupt factors Address match interrupt enable bit Address match interrupt register  
Address match interrupt 0  
Address match interrupt 1  
AIER0  
AIER1  
RMAD0  
RMAD1  
Rev.1.20 Jan 27, 2006 page 66 of 205  
REJ09B0111-0120  
 复制成功!