int_vec.asm

来自「此程序为TMS320c5410下用汇编语言实现产生一个正弦波」· 汇编 代码 · 共 89 行

ASM
89
字号
 .global vector, _c_int00,_timer
 .mmregs
;----------------------------------------
;define interrupt vectors talbe in .vector section (prog memory)
;--------------------------------------------
 .sect ".intVect"
vector:
rs b _c_int00
   nop
   nop
nmi b _ret
    nop
	nop
sint17 b _ret
       nop
	   nop
sint18 b _ret
       nop
	   nop
sint19 b _ret
       nop
	   nop
sint20 b _ret
       .word 0,0
sint21 b _ret
       .word 0,0
sint22 .word 01000h
       .word 0,0,0
sint23 .word 0ff80h
       .word 0,0,0
sint24 .word 01000h
       .word 0,0,0
sint25 .word 0ff80h
       .word 0,0,0
sint26 .word 01000h
       .word 0,0,0
sint27 .word 0ff80h
       .word 0,0,0
sint28 .word 01000h
       .word 0,0,0
sint29 .word 0ff80h
       .word 0,0,0
sint30 .word 01000h
       .word 0,0,0
int0 b _ret 
     nop
	 nop
int1 b _ret 
     nop
	 nop
int2 b _ret 
     nop
	 nop
tint b _timer
     nop
	 nop
brint0 b _ret
       nop
	   nop

bxint0 b _ret
       nop
	   nop
trint b _ret
      nop
	  nop
txint b _ret
      nop
	  nop
int3 b _ret 
     nop
	 nop
bpint b _ret 
      nop
	  nop
q26 .word 0ff80h
    .word 0,0,0
q27 .word 01000h
    .word 0,0,0
q28 .word 0ff80h
    .word 0,0,0
q29 .word 01000h
    .word 0,0,0
q30 .word 0ff80h
    .word 0,0,0
q31 .word 01000h
    .word 0,0,0

_ret rete

⌨️ 快捷键说明

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