vec_table.asm
来自「在ccs上使用定时器实现一个数字震荡器的代码.产生的是正弦波波形。」· 汇编 代码 · 共 107 行
ASM
107 行
;/* ============================================================================*/
;/* Copyright (C) 2004 YINXING TECHNOLOGY CO., LTD */
;/* All Rights Reserved. */
;/* ----------------------------------------------------------------------------*/
;/* ============================================================================*/
.mmregs
; .ref _ret
.ref _c_int00
.ref _tint
.global vector
.sect ".int_table"
;--------------------------------------------------------------------
; interrupte vector table !
;--------------------------------------------------------------------
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 _tint
nop
nop
brint0 b __ret
nop
nop
bxint0 b __ret
nop
nop
trint b __ret
nop
nop
dmac1 b __ret
nop
nop
int3 b __ret
nop
nop
hpint b __ret
nop
nop
q26 .word 0ff80h
.word 0,0,0
q27 .word 01000h
.word 0,0,0
dmac4 b __ret
nop
nop
dmac5 b __ret
nop
nop
q30 .word 0ff80h
.word 0,0,0
q31 .word 01000h
.word 0,0,0
;--------------------------------------------------------------------------
; end of interrupte vector table !
;-------------------------------------------------------------------------
__ret rete
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?