vectors.asm

来自「基于DSP2407产生带死区的6个PWM脉冲的源代码!」· 汇编 代码 · 共 46 行

ASM
46
字号
*********************************************************************
* Filename:   Vectors.asm 					                        *
* Decription: Reset and Interrupt Vectors files of 2407 for use of  *
*             C language programs.                                  *
*********************************************************************
	.ref _c_int0, _cap_isr, _T1P_isr, _Phantom  	
	
	;根据所使用的中断子程序名字而定

 	.sect ".vectors"
 	
rset: 		B 	_c_int0 		;00h reset
int1: 		B 	_Phantom 		;02h INT1
int2: 		B 	_T1P_isr		;04h INT2
int3: 		B 	_Phantom     	;06h INT3
int4: 		B 	_cap_isr 		;08h INT4 (capture int)
int5: 		B 	_Phantom 		;0Ah INT5
int6: 		B 	_Phantom 		;0Ch INT6
int7: 		B 	_Phantom 		;0Eh reserved
int8: 		B 	_Phantom 		;10h INT8  (software)
int9: 		B 	_Phantom 		;12h INT9  (software)
int10: 		B 	_Phantom 		;14h INT10 (software)
int11: 		B 	_Phantom 		;16h INT11 (software)
int12: 		B 	_Phantom 		;18h INT12 (software)
int13: 		B 	_Phantom 		;1Ah INT13 (software)
int14: 		B 	_Phantom 		;1Ch INT14 (software)
int15: 		B 	_Phantom 		;1Eh INT15 (software)
int16: 		B 	_Phantom 		;20h INT16 (software)
int17: 		B 	_Phantom 		;22h TRAP
int18: 		B 	_Phantom 		;24h NMI
int19: 		B 	_Phantom 		;26h reserved
int20: 		B 	_Phantom 		;28h INT20 (software)
int21: 		B 	_Phantom 		;2Ah INT21 (software)
int22: 		B 	_Phantom		;2Ch INT22 (software)
int23: 		B 	_Phantom 		;2Eh INT23 (software)
int24: 		B 	_Phantom 		;30h INT24 (software)
int25: 		B 	_Phantom 		;32h INT25 (software)
int26: 		B 	_Phantom 		;34h INT26 (software)
int27: 		B 	_Phantom 		;36h INT27 (software)
int28: 		B 	_Phantom 		;38h INT28 (software)
int29: 		B 	_Phantom 		;3Ah INT29 (software)
int30: 		B 	_Phantom 		;3Ch INT30 (software)
int31: 		B 	_Phantom 		;3Eh INT31 (software) 


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?