⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vectors.asm

📁 主要介绍一些常用的关于TCP/IP的命令集,有助于工程人员快速地查阅
💻 ASM
字号:
*
*hit651 voice platform software
**************************** vectors.asm ****************
*2004.1.3 hit651
*  Plug in the entry point at RESET in the interrupt vector table
*
*
		.include c54.inc 
        .sect ".vectors"

        .ref  _c_int00    		; main progrom 
        .ref timer0 ,as8019,dmac1,dmac2

        .align  0x80            ; must be aligned on page boundary

RESET:                          ; reset vector
        B _c_int00              ; branch to main progrom
				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: 			

                CALL as8019
                RETE
                NOP
                

int2:   RETE
                NOP
                NOP
                NOP

tint:   		CALL timer0
				RETE
				NOP
                
rint0:  RETE
                NOP
                NOP
                NOP
xint0:	RETE
                NOP
                NOP
                NOP
DMAC0:	RETE
				NOP
				NOP
				NOP

DMAC1:			CALL dmac1						;tint1
;				NOP
;				NOP
				NOP
				RETE
						
int3:   RETE
                NOP
                NOP
                NOP
HPINT:	RETE		
				NOP
				NOP
				NOP

DMAC2:  		CALL dmac2				;rint1
;               NOP
;               NOP
                NOP
                RETE
                
xint1:  RETE	
				 
		        NOP
				NOP
				NOP
DMAC4:	RETE
				NOP
				NOP
				NOP

DMAC5:	RETE
				NOP
				NOP
				NOP
                .end

⌨️ 快捷键说明

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