⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vector.asm

📁 关于电动汽车控制采样处理的源代码
💻 ASM
字号:
**********************************************************************

**********************************************************************

**********************************************************************

**********************************************************************

        .def PVECTORS
        .ref _c_int0,GISR3,GISR5 
        .ref CANMBX_ISR 
        .ref T2PINT_ISR
 	  

        .sect    "vectors"
rset:   B       _c_int0         ;00h reset
int1:   B       int1            ;02h INT1 
int2:   B       int2            ;04h INT2
int3:   B       GISR3           ;06h INT3   GISR3 
int4:   B       int4            ;08h INT4
int5:   B       GISR5           ;0Ah INT5   GISR5
int6:   B       int6            ;0Ch INT6
int7:   B       int7            ;0Eh reserved
int8:   B       int8            ;10h INT8  (software)
int9:   B       int9            ;12h INT9  (software)
int10:  B       int10           ;14h INT10 (software)
int11:  B       int11           ;16h INT11 (software)
int12:  B       int12           ;18h INT12 (software)
int13:  B       int13           ;1Ah INT13 (software)
int14:  B       int14           ;1Ch INT14 (software)
int15:  B       int15           ;1Eh INT15 (software)
int16:  B       int16           ;20h INT16 (software)
int17:  B       int17           ;22h TRAP
int18:  B       int18           ;24h NMI
int19:  B       int19           ;26h reserved
int20:  B       int20           ;28h INT20 (software)
int21:  B       int21           ;2Ah INT21 (software)
int22:  B       int22           ;2Ch INT22 (software)
int23:  B       int23           ;2Eh INT23 (software)
int24:  B       int24           ;30h INT24 (software)
int25:  B       int25           ;32h INT25 (software)
int26:  B       int26           ;34h INT26 (software)
int27:  B       int27           ;36h INT27 (software)
int28:  B       int28           ;38h INT28 (software)
int29:  B       int29           ;3Ah INT29 (software)
int30:  B       int30           ;3Ch INT30 (software)
int31:  B       int31           ;3Eh INT31 (software)     
         
;中断子向量入口定义pvecs
			.sect	"pvecs"			;定义子向量段
PVECTORS:	     B	PVECTORS				;保留向量地址偏移量0000h 
P_PHANTOM_1:	B	P_PHANTOM_1			;保留向量地址偏移量0001h
		
			.sect     "t2period"             ;定义子向量段
T2PERIOD_INT:  B    T2PINT_ISR    	          ;保留向量地址偏移量0002,T2周期中断,
			
			.sect	"canvecs"	          ;定义子向量段
CANVECTORS:	B	CANVECTORS			;保留向量地址偏移量0000h 
C_PHANTOM_1:	B	C_PHANTOM_1	     	;保留向量地址偏移量0001h
			B	CANMBX_ISR               ;保留向量地址偏移量0040h  CAN接收中断
C_PHANTOM_2:	B	C_PHANTOM_2	     	;保留向量地址偏移量0041h    
              

      	 

⌨️ 快捷键说明

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