欢迎访问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文件第70页浏览型号GMS87C2020K的Datasheet PDF文件第71页浏览型号GMS87C2020K的Datasheet PDF文件第72页浏览型号GMS87C2020K的Datasheet PDF文件第73页浏览型号GMS87C2020K的Datasheet PDF文件第75页浏览型号GMS87C2020K的Datasheet PDF文件第76页浏览型号GMS87C2020K的Datasheet PDF文件第77页浏览型号GMS87C2020K的Datasheet PDF文件第78页  
GMS81C2012/GMS81C2020  
HYUNDAI MicroElectronics  
area for saving registers.  
16.2 BRK Interrupt  
The following method is used to save/restore the general-  
purpose registers.  
Software interrupt can be invoked by BRK instruction,  
which has the lowest priority order.  
Example: Register save using push and pop instructions  
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.  
INTxx: PUSH  
PUSH  
A
X
Y
;SAVE ACC.  
;SAVE X REG.  
;SAVE Y REG.  
PUSH  
Each processing step is determined by B-flag as shown in  
Figure 16-5.  
interrupt processing  
POP  
POP  
POP  
RETI  
Y
X
A
;RESTORE Y REG.  
;RESTORE X REG.  
;RESTORE ACC.  
;RETURN  
=0  
B-FLAG  
General-purpose register save/restore using push and pop  
instructions;  
=1  
BRK or  
TCALL0  
BRK  
TCALL0  
ROUTINE  
INTERRUPT  
ROUTINE  
main task  
RETI  
RET  
acceptance of  
interrupt  
interrupt  
service task  
saving  
registers  
restoring  
registers  
Figure 16-5 Execution of BRK/TCALL0  
interrupt return  
74  
MAR. 2000 Ver 1.00  
 
 复制成功!