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

📄 vectors.asm

📁 This code ports the uC/OS operating system by Jean LaBrosse to the TI TMS320C2xx family of DSP s.
💻 ASM
字号:
	.page;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Module    :   vectors.asm
;
; Purpose   :   vectors to software and hardware ISR's.
;
; Language  :   TMS320C1x/C2x/C2xx/C5x COFF Assembler       Version 6.60
;				Copyright (c) 1987-1995  Texas Instruments Incorporated
;
; Written   :
;
; Modified  :   Kirby W. Cartwright, The Vanner Power Group, 07/23/98
;
; Project   :   Vanner Power Group Modular Controller Project PX-2.
;
; Copyright :	Copyright (c) 1988-1995 Texas Instruments Inc.
;				Copyright (c) 1998 by Vanner, Inc.  All Rights Reserved.
;
; Notes     :	"If additional interrupts have C interrupt handlers (in addition to the
;  				RESET vector), add the appropriate branches to the table below as indicated;  				in the comment for each vector.  Vectors that have no interrupt routine;  				should be handled with EINT and RET instructions."
;
; Unit Tested:	7/27/98, KWC
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
		.include f240regs.h        .global _c_int0, _OSTickISR, RESET, _OSCtxSw        .asect  "vectors",0RESET   B	_c_int0						; power-on, external, and watch dog resets.										; need to see which happened.;; Hardware, maskable, interrupt vectors.;INT1    B  _OSTickISR					; "high-priority" external interrupts       									; 1, 2, and 3; and "real-time" interrupt.INT2    EINT               				; B  _c_int2        RETINT3    EINT               				; B  _c_int3        RETINT4    EINT               				; B  _c_int4        RETINT5    EINT               				; B  _c_int5        RETINT6    EINT               				; B  _c_int6        RET        NOP								; skip the reserved interrupt.        NOP;; Software interrupt vectors.;INT8    EINT               				; B  _c_int8        RETINT9    EINT               				; B  _c_int9        RETINT10   EINT               				; B  _c_int10        RETINT11   EINT               				; B  _c_int11        RETINT12   EINT               				; B  _c_int12        RETINT13   EINT               				; B  _c_int13        RETINT14   EINT               				; B  _c_int14        RETINT15   EINT               				; B  _c_int15        RETINT16   EINT               				; B  _c_int16        RET;; Trap instruction vector.;TRAP	NOP		RET								; B  _Trap;; Non-maskable interrupt vector.;NMI_VECT	EINT                   		; B	_Nmi		RET        NOP								; skip the reserved interrupt.        NOP;; Still more software interrupt vectors.;INT20   EINT               				; B  _c_int20        RETINT21   EINT               				; B  _c_int21        RETINT22   EINT               				; B  _c_int22        RETINT23   EINT               				; B  _c_int23        RETINT24   EINT               				; B  _c_int24        RETINT25   EINT               				; B  _c_int25        RETINT26   EINT               				; B  _c_int26        RETINT27   EINT               				; B  _c_int27        RETINT28   EINT               				; B  _c_int28        RETINT29   EINT               				; B  _c_int29        RETINT30   EINT               				; B  _c_int30        RETINT31	B	_OSCtxSw					; task switching service vector.        .end

⌨️ 快捷键说明

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