vectors.asm

来自「2407嵌入式系统程序(c语言)」· 汇编 代码 · 共 116 行

ASM
116
字号
**********************************************************************
* Filename: cvectors.asm                                             *
*                                                                    *
* Author: David M. Alter, Texas Instruments Inc.                     *
*                                                                    *
* Last Modified: 03/14/01                                            *
*                                                                    *
* Description: Interrupt vector table for '240x DSP core             *
* for use with C language programs.                                  *
*                                                                    *
**********************************************************************
        .ref _c_int0,_nothing, _uarttr,_uartsent,_uartrec

        .sect    "vectors"
rset:   B       _c_int0         ;00h reset
int1:   B       int1            ;02h INT1
int2:   B       int2            ;04h INT2
int3:   B       int3     	;06h INT3
int4:   B       int4            ;08h INT4
int5:   B       _uarttr         ;0Ah INT5
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)
;******************************************************************************
;INTERRUPT ENTERANCE VECTOR TAB.
;******************************************************************************        
        	         .sect 	"pvesc"
PVECTORS:  B	_nothing  ;Reserved pvector addr offset-0000h
           B	_nothing  ;Reserved pvector addr offset    1
           B	_nothing  ;Reserved pvector addr offset    2
           B	_nothing  ;Reserved pvector addr offset    3
           B	_nothing  ;Reserved pvector addr offset    4
           B	_nothing  ;Reserved pvector addr offset-0005h
           B	_uartrec  ;Reserved pvector addr offset    6
           B	_uartsent ;Reserved pvector addr offset    7
           B	_nothing  ;Reserved pvector addr offset    8
           B	_nothing  ;Reserved pvector addr offset    9
           B	_nothing  ;Reserved pvector addr offset-000ah
           B	_nothing  ;Reserved pvector addr offset    B
           B	_nothing  ;Reserved pvector addr offset    C
           B	_nothing  ;Reserved pvector addr offset    D
           B	_nothing  ;Reserved pvector addr offset    E
           B	_nothing  ;Reserved pvector addr offset    F
           B	_nothing  ;Reserved pvector addr offset-0010h
           B	_nothing  ;Reserved pvector addr offset   11
           B	_nothing  ;Reserved pvector addr offset   12
           B	_nothing  ;Reserved pvector addr offset   13
           B	_nothing  ;Reserved pvector addr offset   14
           B	_nothing  ;Reserved pvector addr offset-0015h
           B	_nothing  ;Reserved pvector addr offset   16
           B	_nothing  ;Reserved pvector addr offset   17
           B	_nothing  ;Reserved pvector addr offset   18
           B	_nothing  ;Reserved pvector addr offset   19
           B	_nothing  ;Reserved pvector addr offset-001ah
           B	_nothing  ;Reserved pvector addr offset   1B
           B	_nothing  ;Reserved pvector addr offset   1C
           B	_nothing  ;Reserved pvector addr offset   1D
           B	_nothing  ;Reserved pvector addr offset   1E
           B	_nothing  ;Reserved pvector addr offset   1F
           B	_nothing  ;Reserved pvector addr offset-0020h 
           B	_nothing  ;Reserved pvector addr offset   21
           B	_nothing  ;Reserved pvector addr offset   22
           B	_nothing  ;Reserved pvector addr offset   23
           B	_nothing  ;Reserved pvector addr offset   24
           B	_nothing  ;Reserved pvector addr offset-0025h
           B	_nothing  ;Reserved pvector addr offset   26
           B	_nothing  ;Reserved pvector addr offset-0027H  
           B	_nothing  ;Reserved pvector addr offset   28
           B	_nothing  ;Reserved pvector addr offset   29
           B	_nothing  ;Reserved pvector addr offset-002ah
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset-0030h
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset-0035h
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset-003ah
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset-003fh
           B	_nothing  ;Reserved pvector addr offset
           B	_nothing  ;Reserved pvector addr offset-0041h 

⌨️ 快捷键说明

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