📄 ls_vectors.asm
字号:
.sect ".vectors"
.mmregs
.ref _c_int00 ; C entry point
.ref _rtl8019
.ref _time0
.ref _read_pdata0
.ref _write_pdata0
.ref _read_pdata1
.ref _write_pdata1
.align 0x80 ; must be aligned on page boundary
RESET: ; reset vector
BD _c_int00 ; branch to C entry point
STM #200,SP ; stack size of 200
nmi: RETE ; enable interrupts and return from one
NOP
;b _power_off
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
sint27 .space 4*16
sint28 .space 4*16
sint29 .space 4*16
sint30 .space 4*16
sint31 .space 4*16
int0: b _rtl8019
; rete
; nop
NOP
NOP
int1: RETE
NOP
NOP
NOP
int2: RETE
NOP
NOP
NOP
time0: b _time0
NOP
NOP
brint0: ;rete
;nop
B _read_pdata1
NOP
NOP
bxint0: ;rete
;NOP
B _write_pdata1
NOP
NOP
;DMA
sint6: RETE
NOP
;b _aic23tx
NOP
NOP
;TIME1
time1: rete
nop
NOP
NOP
int3: RETE
NOP
NOP
NOP
;HPINT
sint9: RETE
NOP
NOP
NOP
;McBSP1
brint1: ; rete
;nop
b _read_pdata1
NOP
NOP
bxint1:
;rete
;nop
b _write_pdata1
NOP
NOP
sint12: RETE
NOP
NOP
NOP
sint13: RETE
NOP
NOP
NOP
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -