📄 int_vec.asm
字号:
.global vector, _c_int00,_timer
.mmregs
;----------------------------------------
;define interrupt vectors talbe in .vector section (prog memory)
;--------------------------------------------
.sect ".intVect"
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
tint b _timer
nop
nop
brint0 b _ret
nop
nop
bxint0 b _ret
nop
nop
trint b _ret
nop
nop
txint b _ret
nop
nop
int3 b _ret
nop
nop
bpint 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
_ret rete
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -