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

GMS87C2020K 参数 Datasheet PDF下载

GMS87C2020K图片预览
型号: GMS87C2020K
PDF下载: 下载PDF文件 查看货源
内容描述: 现代微电子8位单芯片微控制器 [HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器和处理器光电二极管电子可编程只读存储器
文件页数/大小: 107 页 / 1524 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C2020K的Datasheet PDF文件第69页浏览型号GMS87C2020K的Datasheet PDF文件第70页浏览型号GMS87C2020K的Datasheet PDF文件第71页浏览型号GMS87C2020K的Datasheet PDF文件第72页浏览型号GMS87C2020K的Datasheet PDF文件第74页浏览型号GMS87C2020K的Datasheet PDF文件第75页浏览型号GMS87C2020K的Datasheet PDF文件第76页浏览型号GMS87C2020K的Datasheet PDF文件第77页  
HYUNDAI MicroElectronics  
16.1 Interrupt Sequence  
GMS81C2012/GMS81C2020  
An interrupt request is held until the interrupt is accepted  
or the interrupt latch is cleared to “0” by a reset or an in-  
struction. Interrupt acceptance sequence requires 8 fXIN (2  
µs at fMAIN=4.19MHz) after the completion of the current  
instruction execution. The interrupt service task is termi-  
nated upon execution of an interrupt return instruction  
[RETI].  
2. Interrupt request flag for the interrupt source accepted is  
cleared to “0”.  
3. The contents of the program counter (return address)  
and the program status word are saved (pushed) onto the  
stack area. The stack pointer decreases 3 times.  
4. The entry address of the interrupt service program is  
read from the vector table address and the entry address  
is loaded to the program counter.  
Interrupt acceptance  
1. The interrupt master enable flag (I-flag) is cleared to  
“0” to temporarily disable the acceptance of any follow-  
ing maskable interrupts. When a non-maskable inter-  
rupt is accepted, the acceptance of any following  
interrupts is temporarily disabled.  
5. The instruction stored at the entry address of the inter-  
rupt service program is executed.  
System clock  
Instruction Fetch  
SP-2  
PSW  
V.L.  
V.H.  
New PC  
OP code  
SP  
SP-1  
PC  
Address Bus  
Data Bus  
Not used  
PCH  
PCL  
V.L.  
ADL  
ADH  
Internal Read  
Internal Write  
Interrupt Processing Step  
Interrupt Service Task  
V.L. and V.H. are vector addresses.  
ADL and ADH are start addresses of interrupt service routine as vector contents.  
Figure 16-4 Timing chart of Interrupt Acceptance and Interrupt Return Instruction  
When nested interrupt service is required, the I-flag should  
Basic Interval Timer  
Vector Table Address  
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.  
Entry Address  
012H  
0E3H  
0FFE6H  
0FFE7H  
0EH  
2EH  
0E312H  
0E313H  
Saving/Restoring General-purpose Register  
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. These registers are saved by the software  
if necessary. Also, when multiple interrupt services are  
nested, it is necessary to avoid using the same data memory  
Correspondence between vector table address for BIT interrupt  
and the entry address of the interrupt service program.  
A 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.  
MAR. 2000 Ver 1.00  
73  
 复制成功!