📄 intvecs.asm
字号:
;****************************************************************************;* VECTORS.ASM v##### - Prototype Interrupt Vector Table for C28X C Runtime;* $RCSFile: ,v $;* $Revision: 1.17 $;* $Date: 2001/10/29 19:07:28 $;* Copyright (c) 2000 Texas Instruments Incorporated;**************************************************************************** .title "C28xx Interrupt Vectors w/ RTDX" .tab 4JTAGRTDX .set 1;****************************************************************************; Interrupt Vector Table;; 32 interrupt vector addresses - Each 32 bits long. ; - First 32 bits = 24-bit address of Interrupt Service Routine (ISR).; - Second 32 bits executed before transferring control to the ISR.; - Must be aligned on a 256 boundary.;**************************************************************************** .sect ".intvecs" .align 256;****************************************************************************;* Point Reset Vector to C Environment Entry Point ;**************************************************************************** .def RESETIVRESETIV: .long RESET_ISR;****************************************************************************;* Other interrupt vector definitions go here;****************************************************************************IV01: .long _no_handler ; Maskable hardware interruptIV02: .long _no_handler ; Maskable hardware interruptIV03: .long _no_handler ; Maskable hardware interruptIV04: .long _no_handler ; Maskable hardware interruptIV05: .long _no_handler ; Maskable hardware interruptIV06: .long _no_handler ; Maskable hardware interruptIV07: .long _no_handler ; Maskable hardware interruptIV08: .long _no_handler ; Maskable hardware interruptIV09: .long _no_handler ; Maskable hardware interruptIV10: .long _no_handler ; Maskable hardware interruptIV11: .long _no_handler ; Maskable hardware interrupt IV12: .long _no_handler ; Maskable hardware interruptIV13: .long _no_handler ; Maskable hardware interruptIV14: .long _no_handler ; Maskable hardware interrupt .ref _datalog_isrDLOGIV:IV15: .long _datalog_isr ; DLOGINTIV16: .long _no_handler ; RTOSINTIV17: .long _no_handler ; ReservedIV18: .long _no_handler ; NMIIV19: .long _no_handler ; Illegal Instruction TrapIV21: .long _no_handler ; User defined Software InterruptIV22: .long _no_handler ; User defined Software InterruptIV23: .long _no_handler ; User defined Software InterruptIV24: .long _no_handler ; User defined Software InterruptIV25: .long _no_handler ; User defined Software InterruptIV26: .long _no_handler ; User defined Software InterruptIV27: .long _no_handler ; User defined Software InterruptIV28: .long _no_handler ; User defined Software InterruptIV29: .long _no_handler ; User defined Software InterruptIV30: .long _no_handler ; User defined Software InterruptIV31: .long _no_handler ; User defined Software Interrupt;****************************************************************************; Interrupt Service Routines;; Just a few interrupt service routines that may be useful.;**************************************************************************** .text ; Just in case we decide to move the vectors, this ISR will force ; the IVPD, IVPH to point to our vector table. ; - Hardware Reset forces IVPD/IVPH = 0xFFFF. .def RESET_ISR .ref _c_int00RESET_ISR: CLRC VMAP B _c_int00,UNC .def _no_handler_no_handler: B _no_handler,UNC .end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -