vector.asm

来自「DSP+MP3+USB+FAT12的所有源程序(C语言编写)」· 汇编 代码 · 共 134 行

ASM
134
字号

;******************************************************************************
;
;Copyright (c) 2004 GoldInfo Technology Co., Ltd.
;
;Module Name:
;
;         VECTOR.ASM
;
;Abstract:
;
;         vector table related to interrupt entry 
;
;Environment:
;
;        ccs2.0 IDE
;
;Revision History:
;
;        01/5/2004      Mikal   created
;
;
;;*****************************************************************************




; TEXAS INSTRUMENTS INCORPORATED
	    .mmregs
	
	    .sect ".vectors"
	    .ref _c_int00

	
reset:  B _c_int00
	    NOP
	    NOP

        b 	$  		; NMI Vector
	    nop
	    nop



sint17 .space 4*16
sint18 .space 4*16
sint19 .space 4*16
sint20 .space 4*16
sint21 .space 4*16
sint22 .space 4*16
sint23 .space 4*16
sint24 .space 4*16
sint25 .space 4*16
sint26 .space 4*16
sint27 .space 4*16
sint28 .space 4*16
sint29 .space 4*16
sint30 .space 4*16

int0: 
	   NOP
	   NOP
	   
int1:
	   NOP
	   NOP
	   
int2: 
	   NOP
	   NOP
	   
tint: 
	   NOP
	   NOP 
	
rint0: RETE ; Serial Port Receive
	   NOP ; Interrupt 0
	   NOP
	   NOP
	   
xint0: RETE ; Serial Port Transmit
	   NOP ; Interrupt 0
	   NOP
	   NOP
	   
DMA0:
 
	   b 	$  		; McBSP2 Rx Int
	   nop
	   nop
	   
DMA1:
 
	   b 	$		; McBSP2 Tx Int
	   nop
	   nop

	   b 	$  		; Ext Int 3
	   nop
	   nop

	   b 	$   	; HPI Int
	   nop
	   nop	
	   
rint1: RETE ; Serial Port Receive
	   NOP ; Interrupt 0
	   NOP
	   NOP
	   
xint1: RETE ; Serial Port Transmit
	   NOP ; Interrupt 0
	   NOP
	   NOP			
   			
	   b 	$   ; DMA Ch 4 Int
	   nop
	   nop

       b 	$  		; DMA Ch 5 Int
	   nop	
	   nop

	   b 	$ 		; Reserved
	   nop
	   nop

	   b 	$ 		; Reserved
	   nop
	   nop
	 						
.end

⌨️ 快捷键说明

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