參數(shù)資料
型號(hào): GMS81C2012
廠商: Hynix Semiconductor Inc.
英文描述: HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
中文描述: 現(xiàn)代微電子8位單晶片微控制器
文件頁(yè)數(shù): 62/93頁(yè)
文件大小: 853K
代理商: GMS81C2012
GMS81C1404/GMS81C1408
60
June. 2001 Ver 1.2
The following method is used to save/restore the general-
purpose registers.
Example: Register save using push and pop instructions
General-purpose register save/restore using push and pop
instructions;
17.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
Figure 17-4 .
Figure 17-4 Execution of BRK/TCALL0
17.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.
INTxx:
PUSH
PUSH
PUSH
A
X
Y
;SAVE ACC.
;SAVE X REG.
;SAVE Y REG.
interrupt processing
POP
POP
POP
RETI
Y
X
A
;RESTORE Y REG.
;RESTORE X REG.
;RESTORE ACC.
;RETURN
main task
interrupt
service task
saving
registers
restoring
registers
acceptance of
interrupt
interrupt return
B-FLAG
BRK
INTERRUPT
ROUTINE
RETI
TCALL0
ROUTINE
RET
BRK or
TCALL0
=0
=1
相關(guān)PDF資料
PDF描述
GMS81C2012K HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2020 CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
GMS81C2020LQ IC MCU 8-BIT ROMLESS 44-PQFP
GMS81C2020Q HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2112 HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81C2012GMS81C2012LQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2012K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2020 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
GMS81C2020K 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2020LQ 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS