📄 vectors.asm
字号:
.mmregs
.ref _c_int00
.ref _Timer_ISR
.global vector
.sect ".int_table"
;--------------------------------------------------------------------
; interrupte vector table !
;--------------------------------------------------------------------
vector:
rs b _c_int00
nop
nop
nmi b _ret
nop
nop
sint17 b _ret
nop
nop
sint18 b _ret
nop
nop
sint19 b _ret
nop
nop
sint20 b _ret
.word 0,0
sint21 b _ret
.word 0,0
sint22 .word 01000h
.word 0,0,0
sint23 .word 0ff80h
.word 0,0,0
sint24 .word 01000h
.word 0,0,0
sint25 .word 0ff80h
.word 0,0,0
sint26 .word 01000h
.word 0,0,0
sint27 .word 0ff80h
.word 0,0,0
sint28 .word 01000h
.word 0,0,0
sint29 .word 0ff80h
.word 0,0,0
sint30 .word 01000h
.word 0,0,0
int0 b _ret
nop
nop
int1 b _ret
nop
nop
int2 b _ret
nop
nop
tin b _Timer_ISR
nop
nop
brint0 b _ret
nop
nop
bxint0 b _ret
nop
nop
trint b _ret
nop
nop
dmac1 b _ret
nop
nop
int3 b _ret
nop
nop
hpint b _ret
nop
nop
q26 .word 0ff80h
.word 0,0,0
q27 .word 01000h
.word 0,0,0
q28 .word 0ff80h
.word 0,0,0
q29 .word 01000h
.word 0,0,0
q30 .word 0ff80h
.word 0,0,0
q31 .word 01000h
.word 0,0,0
;--------------------------------------------------------------------------
; end of interrupte vector table !
;-------------------------------------------------------------------------
_ret rete
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -