📄 vectors.asm
字号:
.sect ".vectors"
.ref _c_int00 ; C entry point
.align 0x80 ; must be aligned on page boundary
RESET: ; reset vector
BD _c_int00 ; branch to C entry point
STM #1024,SP ; stack size of 400
nmi: RETE ; enable interrupts and return from one
NOP
NOP
NOP ;NMI~
; software interrupts
sint17 .space 4*16
sint18 .space 4*16
sint19 .space 4*16
sint20 .space 4*16
sint21 .space 4*16
sint22 .space 4*16
sint23 .space 4*16
sint24 .space 4*16
sint25 .space 4*16
sint26 .space 4*16
sint27 .space 4*16
sint28 .space 4*16
sint29 .space 4*16
sint30 .space 4*16
int0: RETE
NOP
NOP
NOP
int1: RETE
NOP
NOP
NOP
int2: RETE
NOP
NOP
NOP
tint0: B _timer0
.ref _timer0
NOP
NOP
rint0: RETE
NOP
NOP
NOP
xint0: B _McBSP0_xint
.ref _McBSP0_xint
NOP
NOP
dmac0: RETE
NOP
NOP
NOP
tint1: RETE
NOP
NOP
NOP
int3: RETE
NOP
NOP
NOP
hpint: RETE
NOP
NOP
NOP
rint1: RETE ;McBSP1_rint OR DMA2_int
NOP
NOP
NOP
xint1: RETE
NOP
NOP
NOP
dmac4: B _DMA4_rint
.ref _DMA4_rint
NOP
NOP
dmac5: RETE
NOP
NOP
NOP
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -