vectors.asm

来自「TSM c5000 控制内部定时器的C测试代码」· 汇编 代码 · 共 93 行

ASM
93
字号
.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 + =
减小字号Ctrl + -
显示快捷键?