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

GMS87C5108Q 参数 Datasheet PDF下载

GMS87C5108Q图片预览
型号: GMS87C5108Q
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, OTPROM, 4.19MHz, CMOS, PQFP80, QFP-80]
分类和应用: 微控制器和处理器可编程只读存储器
文件页数/大小: 102 页 / 1525 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C5108Q的Datasheet PDF文件第66页浏览型号GMS87C5108Q的Datasheet PDF文件第67页浏览型号GMS87C5108Q的Datasheet PDF文件第68页浏览型号GMS87C5108Q的Datasheet PDF文件第69页浏览型号GMS87C5108Q的Datasheet PDF文件第71页浏览型号GMS87C5108Q的Datasheet PDF文件第72页浏览型号GMS87C5108Q的Datasheet PDF文件第73页浏览型号GMS87C5108Q的Datasheet PDF文件第74页  
GMS81C5108  
System clock  
Instruction Fetch  
Address Bus  
SP-2  
PSW  
V.L.  
V.H.  
New PC  
OP code  
SP  
SP-1  
PC  
Not used  
PCH  
PCL  
V.L.  
ADL  
ADH  
Data Bus  
Internal Read  
Internal Write  
Interrupt Processing Step  
Interrupt Service Routine  
V.L. and V.H. are vector addresses.  
ADL and ADH are start addresses of interrupt service routine as vector contents.  
Figure 17-3 Timing chart of Interrupt Acceptance and Interrupt Return Instruction  
The following method is used to save/restore the general-  
Basic Interval Timer  
Vector Table Address  
purpose registers.  
Entry Address  
Example: Register saving  
012  
0FFFA  
0FFFB  
H
H
H
0E  
2E  
0E312  
0E313  
H
H
0E3  
H
INTxx: PUSH  
PUSH  
A
X
Y
;SAVE ACC.  
;SAVE X REG.  
;SAVE Y REG.  
H
H
PUSH  
interrupt processing  
Correspondence between vector table address for BIT interrupt  
and the entry address of the interrupt service program.  
POP  
POP  
POP  
RETI  
Y
X
A
;RESTORE Y REG.  
;RESTORE X REG.  
;RESTORE ACC.  
;RETURN  
An interrupt request is not accepted until the I-flag is set to  
“1” even if a requested interrupt has higher priority than  
that of the current interrupt being serviced.  
General-purpose registers are saved or restored by using  
push and pop instructions.  
When nested interrupt service is required, the I-flag should  
be set to “1” by “EI” instruction in the interrupt service  
program. In this case, acceptable interrupt sources are se-  
lectively enabled by the individual interrupt enable flags.  
main routine  
acceptance of  
interrupt  
interrupt  
service routine  
Saving/Restoring General-purpose Register  
saving  
registers  
During interrupt acceptance processing, the program  
counter and the program status word are automatically  
saved on the stack, but accumulator and other registers are  
not saved itself. If necessary, these registers should be  
saved by the software. Also, when multiple interrupt ser-  
vices are nested, it is necessary to avoid using the same  
data memory area for saving registers.  
restoring  
registers  
interrupt return  
JUNE 2001 Ver 1.0  
67  
 复制成功!