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

GMS81524BLQ 参数 Datasheet PDF下载

GMS81524BLQ图片预览
型号: GMS81524BLQ
PDF下载: 下载PDF文件 查看货源
内容描述: 现代微电子8位单芯片微控制器 [HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 微控制器电子
文件页数/大小: 100 页 / 1382 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS81524BLQ的Datasheet PDF文件第59页浏览型号GMS81524BLQ的Datasheet PDF文件第60页浏览型号GMS81524BLQ的Datasheet PDF文件第61页浏览型号GMS81524BLQ的Datasheet PDF文件第62页浏览型号GMS81524BLQ的Datasheet PDF文件第64页浏览型号GMS81524BLQ的Datasheet PDF文件第65页浏览型号GMS81524BLQ的Datasheet PDF文件第66页浏览型号GMS81524BLQ的Datasheet PDF文件第67页  
GMS81508B/16B/24B
HYUNDAI MicroElectronics
area for saving registers.
The following method is used to save/restore the general-
purpose registers.
Example: Register save using push and pop instructions
INTxx:
PUSH
PUSH
PUSH
A
X
Y
;SAVE ACC.
;SAVE X REG.
;SAVE Y REG.
16.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.
Each processing step is determined by B-flag as shown in
interrupt processing
POP
POP
POP
RETI
Y
X
A
;RESTORE Y REG.
;RESTORE X REG.
;RESTORE ACC.
;RETURN
B-FLAG
=0
General-purpose register save/restore using push and pop
instructions;
BRK or
TCALL0
=1
BRK
INTERRUPT
ROUTINE
RETI
TCALL0
ROUTINE
main task
acceptance of
interrupt
interrupt
service task
saving
registers
RET
restoring
registers
interrupt return
Figure 16-5 Execution of BRK/TCALL0
60
DEC. 1999 Ver 1.04