📄 中断服务程序.txt
字号:
Interrupt Service Routine (ISR)
.title “Interrupt Service Routine”
.mmregs
int1:
CONTEXT_STORE ; push the contents of accumulators and registers on stack
STM #K_INT0,IMR ; Unmask only INT0~
RSBX INTM ; Enable all Interrupts
;
; Main Processing for Receive Interrupt 1
.
.
.
SSBX INTM ; Disable all interrupts
CONTEXT_RESTORE ; pop accumulators and registers
RETE ; return and enable interrupts
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -