vectors.asm

来自「基于dsk5402的语音设计,很有用呀.我调试过的,保证正确」· 汇编 代码 · 共 96 行

ASM
96
字号
;/* ============================================================================*/ 
;/*          Copyright (C) 2004 YINXING TECHNOLOGY CO., LTD                     */ 
;/*                          All Rights Reserved.                               */ 
;/* ----------------------------------------------------------------------------*/ 
;/* ============================================================================*/ 



        .sect ".vectors"     

        .ref start          ; C entry point
        .global int_send,int_rev

        .align  0x80            ; must be aligned on page boundary

RESET:                          ; reset vector
        B  start             ; branch to C entry point
        nop 
        nop
nmi:    RETE                    ; enable interrupts and return from one
                NOP
                NOP
                NOP                                     ;NMI~

                ; software interrupts
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:   RETE
                NOP
                NOP
                NOP
int1:   RETE
                NOP 
                NOP
                NOP
int2:   RETE
                NOP
                NOP
                NOP
tint:  RETE
                NOP
                NOP
                NOP                    
rint0:  RETE
                NOP
                NOP
                NOP
xint0:  RETE
                NOP
                NOP
                NOP
rint2:  b int_rev
                NOP
                NOP
xint2:  b int_send
                NOP
                NOP
int3:   RETE
                NOP
                NOP
                NOP
hint:  RETE
                NOP
                NOP
                NOP
rint1: RETE
                NOP
                NOP
                NOP
xint1:  RETE
                NOP
                NOP
                NOP
DMAC4:  RETE
                NOP
                NOP
                NOP
DMAC5:  RETE
                NOP
                NOP
                NOP                                        
                .end

⌨️ 快捷键说明

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