📄 vectors_11.asm
字号:
*****************************************
** vector template **
*****************************************
.ref _c_int5
.ref _c_int14
.ref _c_int12
.sect "vectors" ;section for vectors
RESET_RST:
; mvkl .S2 _boot,B0 ;lower 16 bits --> B0
; mvkh .S2 _boot,B0 ;upper 16 bits --> B0
; B .S2 B0 ;branch to entry address
.loop 8 ;NOPs for remainder of FP
NOP ;to fill 0x20 Bytes
.endloop
NMI_RST: ;branch to ISR
.loop 8
NOP ;fill with 8 NOPs
.endloop
RESV1: .loop 8
NOP
.endloop
RESV2: .loop 8
NOP
.endloop
INT4:
.loop 8
NOP
.endloop
INT5: b _c_int5
.loop 7
NOP
.endloop
INT6: ;b _c_int6
.loop 8
NOP
.endloop
INT7:
.loop 8
NOP
.endloop
INT8: .loop 8
NOP
.endloop
INT9: .loop 8
NOP
.endloop
INT10: ;branch to ISR
.loop 8
NOP
.endloop
INT11: ;b _c_int11 ;branch to ISR
.loop 8
NOP
.endloop
INT12: b _c_int12
.loop 7
NOP
.endloop
INT13: .loop 8
NOP
.endloop
INT14: ;.loop 8
b _c_int14 ;branch to tint0 interrupt
.loop 5
NOP
.endloop
INT15: .loop 8
NOP
.endloop
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -