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

7906 参数 Datasheet PDF下载

7906图片预览
型号: 7906
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机 [16-BIT SINGLE-CHIP MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 531 页 / 3056 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号7906的Datasheet PDF文件第365页浏览型号7906的Datasheet PDF文件第366页浏览型号7906的Datasheet PDF文件第367页浏览型号7906的Datasheet PDF文件第368页浏览型号7906的Datasheet PDF文件第370页浏览型号7906的Datasheet PDF文件第371页浏览型号7906的Datasheet PDF文件第372页浏览型号7906的Datasheet PDF文件第373页  
DEBUG FUNCTION  
17.3 Address matching detection mode  
Address matching detection 0 or 1 selected  
Address matching  
detection interrupt routine  
Main routine  
The interrupt disable flag (I)  
is cleared to 0(Note 1)  
TOP_BUG  
Defective  
or  
Modified  
or  
Former program  
Updated program  
TOP_RTN  
The contents of PG and PC  
saved onto the stack area  
(address TOP_BUG) are  
rewritten to address  
TOP_RTN (Note 2).  
STAB A, LG : 0h (Note 3)  
RTI  
TOP_BUG : The start address of defective or former program.  
This address is to be set in the address compare register 0 or 1, in advance.  
TOP_RTN : The address next to the defective or former program.  
Notes 1: When an address matching detection interrupt request has been accepted, the interrupt  
disable flag (I) is set to 1.If another interrupt requests is required to be accepted under  
the same conditions as those of the defective or former program, be sure to clear the  
interrupt disable flag (I) to 0at the start of an address matching detection interrupt  
routine.  
2: Each status of PG, PC, and PS immediately before acceptance of an address matching  
detection interrupt request is saved onto the stack area. (The contents of PG, PC, and  
PS are saved onto the stack area in this order.) Refer to section 6.7 Sequence from  
acceptance of interrupt request until execution of interrupt routine.”  
3: Make sure that this instruction is executed in the absolute long addressing mode. The  
above is just an example. In an actual programming, be sure to refer to the format of the  
assembler description to be used.  
Fig. 17.3.2 Example of ROM correct processing using address matching detection mode (1)  
7906 Group Users Manual Rev.2.0  
17-8  
 复制成功!