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

GMS87C2120 参数 Datasheet PDF下载

GMS87C2120图片预览
型号: GMS87C2120
PDF下载: 下载PDF文件 查看货源
内容描述: CMOS单芯片8位微控制器与A / D转换器和VFD驱动器 [CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver]
分类和应用: 驱动器转换器微控制器
文件页数/大小: 92 页 / 1757 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C2120的Datasheet PDF文件第65页浏览型号GMS87C2120的Datasheet PDF文件第66页浏览型号GMS87C2120的Datasheet PDF文件第67页浏览型号GMS87C2120的Datasheet PDF文件第68页浏览型号GMS87C2120的Datasheet PDF文件第70页浏览型号GMS87C2120的Datasheet PDF文件第71页浏览型号GMS87C2120的Datasheet PDF文件第72页浏览型号GMS87C2120的Datasheet PDF文件第73页  
Hyundai Micro Electronics  
GMS81C2020/GMS81C2120  
The following method is used to save/restore the general-  
purpose registers.  
General-purpose register save/restore using push and pop  
instructions;  
Example: Register save using push and pop instructions  
main task  
INTxx: PUSH  
PUSH  
A
X
Y
;SAVE ACC.  
;SAVE X REG.  
;SAVE Y REG.  
acceptance of  
interrupt  
interrupt  
service task  
PUSH  
saving  
registers  
interrupt processing  
POP  
POP  
POP  
RETI  
Y
X
A
;RESTORE Y REG.  
;RESTORE X REG.  
;RESTORE ACC.  
;RETURN  
restoring  
registers  
interrupt return  
19.2 BRK Interrupt  
Software interrupt can be invoked by BRK instruction,  
which has the lowest priority order.  
Interrupt vector address of BRK is shared with the vector  
of TCALL 0 (Refer to Program Memory Section). When  
BRK interrupt is generated, B-flag of PSW is set to distin-  
guish BRK from TCALL 0.  
=0  
B-FLAG  
=1  
BRK  
INTERRUPT  
ROUTINE  
BRK or  
TCALL0  
Each processing step is determined by B-flag as shown in  
Figure 19-4 .  
TCALL0  
ROUTINE  
RETI  
RET  
Figure 19-4 Execution of BRK/TCALL0  
19.3 Multi Interrupt  
If two requests of different priority levels are received si-  
multaneously, the request of higher priority level is ser-  
viced. If requests of the interrupt are received at the same  
time simultaneously, an internal polling sequence deter-  
mines by hardware which request is serviced.  
However, multiple processing through software for special  
features is possible. Generally when an interrupt is accept-  
ed, the I-flag is cleared to disable any further interrupt. But  
as user sets I-flag in interrupt routine, some further inter-  
rupt can be serviced even if certain interrupt is in progress.  
Nov. 1999 Ver 0.0  
preliminary  
69  
 
 复制成功!