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

📄 mainfilter.asm

📁 音频数据采集与IIR处理例程
💻 ASM
📖 第 1 页 / 共 5 页
字号:
           MVK     .S1     0xd,A4            ; |154| 
           NOP             2
RL5:       ; CALL OCCURS                     ; |154| 
           MVKL    .S2     __IRQ_eventTable+32,B4 ; |258| 
           MVKH    .S2     __IRQ_eventTable+32,B4 ; |258| 
           LDW     .D2T2   *B4,B4            ; |258| 
           NOP             4
           MVC     .S2     B4,ICR            ; |258| 
	.line	8
           CALL    .S1     _EDMA_intClear    ; |156| 
           MVKL    .S2     RL6,B3            ; |156| 
           MVKH    .S2     RL6,B3            ; |156| 
           MVK     .S1     0xc,A4            ; |156| 
           NOP             2
RL6:       ; CALL OCCURS                     ; |156| 
	.line	9
           CALL    .S1     _EDMA_intClear    ; |157| 
           MVKL    .S2     RL7,B3            ; |157| 
           MVKH    .S2     RL7,B3            ; |157| 
           MVK     .S1     0xd,A4            ; |157| 
           NOP             2
RL7:       ; CALL OCCURS                     ; |157| 
           MVC     .S2     IER,B5            ; |236| 
           MVKL    .S2     __IRQ_eventTable+32,B4 ; |236| 
           MVKH    .S2     __IRQ_eventTable+32,B4 ; |236| 
           LDW     .D2T2   *B4,B4            ; |236| 
           NOP             4
           OR      .S2     B4,B5,B4          ; |236| 
           MVC     .S2     B4,IER            ; |236| 
	.line	11
           CALL    .S1     _EDMA_intEnable   ; |159| 
           MVKL    .S2     RL8,B3            ; |159| 
           MVKH    .S2     RL8,B3            ; |159| 
           MVK     .S1     0xc,A4            ; |159| 
           NOP             2
RL8:       ; CALL OCCURS                     ; |159| 
	.line	12
           CALL    .S1     _EDMA_intEnable   ; |160| 
           MVKL    .S2     RL9,B3            ; |160| 
           MVKH    .S2     RL9,B3            ; |160| 
           MVK     .S1     0xd,A4            ; |160| 
           NOP             2
RL9:       ; CALL OCCURS                     ; |160| 
	.line	13
           LDW     .D2T2   *++SP(8),B3       ; |161| 
           NOP             4
           RET     .S2     B3                ; |161| 
           NOP             5
           ; BRANCH OCCURS                   ; |161| 
	.endfunc	161,000080000h,8



	.sect	".text"
	.global	_rint0
	.sym	_rint0,_rint0, 32, 2, 0
	.func	179
;----------------------------------------------------------------------
; 179 | interrupt void rint0()                                                 
;----------------------------------------------------------------------

;******************************************************************************
;* FUNCTION NAME: _rint0                                                      *
;*                                                                            *
;*   Regs Modified     : A0,B4,B5,SP                                          *
;*   Regs Used         : A0,B4,B5,DP,SP                                       *
;*   Local Frame Size  : 0 Args + 0 Auto + 12 Save = 12 byte                  *
;******************************************************************************

;******************************************************************************
;*                                                                            *
;* Using -g (debug) with optimization (-o3) may disable key optimizations!    *
;*                                                                            *
;******************************************************************************
_rint0:
;** --------------------------------------------------------------------------*
	.line	2
           STW     .D2T2   B5,*SP--(16)      ; |180| 
           STW     .D2T2   B4,*+SP(12)       ; |180| 
           STW     .D2T1   A0,*+SP(8)        ; |180| 
	.line	3
;----------------------------------------------------------------------
; 181 | RecvMcbspDat=*(unsigned volatile int *)McBSP0_DRR;                     
;----------------------------------------------------------------------
           ZERO    .D1     A0                ; |181| 
           MVKH    .S1     0x18c0000,A0      ; |181| 
           LDW     .D1T1   *A0,A0            ; |181| 
           NOP             4
           STW     .D2T1   A0,*+DP(_RecvMcbspDat) ; |181| 
	.line	4
;----------------------------------------------------------------------
; 182 | *(unsigned volatile int *)McBSP0_DXR=SendMcbspDat;                     
;----------------------------------------------------------------------
           LDW     .D2T2   *+DP(_SendMcbspDat),B5 ; |182| 
           MVKL    .S2     0x18c0004,B4      ; |182| 
           MVKH    .S2     0x18c0004,B4      ; |182| 
           NOP             2
           STW     .D2T2   B5,*B4            ; |182| 
	.line	5
           LDW     .D2T1   *+SP(8),A0        ; |183| 

           RET     .S2     IRP               ; |183| 
||         LDW     .D2T2   *+SP(12),B4       ; |183| 

           LDW     .D2T2   *++SP(16),B5      ; |183| 
           NOP             4
           ; BRANCH OCCURS                   ; |183| 
	.endfunc	183,000300001h,16



	.sect	".text"
	.global	_SdramInit
	.sym	_SdramInit,_SdramInit, 32, 2, 0
	.func	102
;----------------------------------------------------------------------
; 102 | void SdramInit(void)                                                   
;----------------------------------------------------------------------

;******************************************************************************
;* FUNCTION NAME: _SdramInit                                                  *
;*                                                                            *
;*   Regs Modified     : A0,B4                                                *
;*   Regs Used         : A0,B3,B4                                             *
;*   Local Frame Size  : 0 Args + 0 Auto + 0 Save = 0 byte                    *
;******************************************************************************

;******************************************************************************
;*                                                                            *
;* Using -g (debug) with optimization (-o3) may disable key optimizations!    *
;*                                                                            *
;******************************************************************************
_SdramInit:
;** --------------------------------------------------------------------------*
	.line	2
	.line	15
;----------------------------------------------------------------------
; 116 | *(unsigned volatile int *)EMIF_GCR = 0x3068;    /* EMIF global control
;     |      */                                                                
;----------------------------------------------------------------------
           ZERO    .D2     B4                ; |116| 

           MVKH    .S2     0x1800000,B4      ; |116| 
||         MVK     .S1     12392,A0          ; |116| 

           STW     .D2T1   A0,*B4            ; |116| 
	.line	16
;----------------------------------------------------------------------
; 117 | *(unsigned volatile int *)EMIF_CE1 = CE1_8;    /* EMIF CE1 control, 8bi
;     | t  */                                                                  
;----------------------------------------------------------------------
           MVKL    .S2     0x1800004,B4      ; |117| 

           MVKH    .S2     0x1800004,B4      ; |117| 
||         MVK     .S1     -253,A0           ; |117| 

           STW     .D2T1   A0,*B4            ; |117| 
	.line	17
;----------------------------------------------------------------------
; 118 | *(unsigned volatile int *)EMIF_SDCTRL = 0x53116000;//0x57126000; /* EMI
;     | F SDRAM control   */                                                   
;----------------------------------------------------------------------

           MVKL    .S1     0x53116000,A0     ; |118| 
||         MVKL    .S2     0x1800018,B4      ; |118| 

           MVKH    .S1     0x53116000,A0     ; |118| 
||         MVKH    .S2     0x1800018,B4      ; |118| 

           STW     .D2T1   A0,*B4            ; |118| 
	.line	18
;----------------------------------------------------------------------
; 119 | *(unsigned volatile int *)EMIF_CE0 = 0x90;      /* EMIF CE0 control
;     |      */                                                                
;----------------------------------------------------------------------
           MVKL    .S2     0x1800008,B4      ; |119| 

           MVKH    .S2     0x1800008,B4      ; |119| 
||         MVK     .S1     144,A0            ; |119| 

           STW     .D2T1   A0,*B4            ; |119| 
	.line	19
;----------------------------------------------------------------------
; 120 | *(unsigned volatile int *)EMIF_SDRP = 0x61a;    /* EMIF SDRM refresh pe
;     | riod */                                                                
;----------------------------------------------------------------------
           MVKL    .S2     0x180001c,B4      ; |120| 

           MVKH    .S2     0x180001c,B4      ; |120| 
||         MVK     .S1     1562,A0           ; |120| 

           STW     .D2T1   A0,*B4            ; |120| 
	.line	20
;----------------------------------------------------------------------
; 121 | *(unsigned volatile int *)EMIF_SDEXT= 0x54529;  /* EMIF SDRM extension
;     |      */                                                                
;----------------------------------------------------------------------

           MVKL    .S1     0x54529,A0        ; |121| 
||         MVKL    .S2     0x1800020,B4      ; |121| 

           MVKH    .S1     0x54529,A0        ; |121| 
||         MVKH    .S2     0x1800020,B4      ; |121| 

           STW     .D2T1   A0,*B4            ; |121| 
	.line	25
;----------------------------------------------------------------------
; 126 | *(unsigned int *)0x807ffff0=0x7799aabb;                                
;----------------------------------------------------------------------

           MVKL    .S2     0x7799aabb,B4     ; |126| 
||         MVKL    .S1     0x807ffff0,A0     ; |126| 

           MVKH    .S2     0x7799aabb,B4     ; |126| 
||         MVKH    .S1     0x807ffff0,A0     ; |126| 

           STW     .D1T2   B4,*A0            ; |126| 
	.line	26
           RET     .S2     B3                ; |127| 
           NOP             5
           ; BRANCH OCCURS                   ; |127| 
	.endfunc	127,000000000h,0



	.sect	".text"
	.global	_iis0_init
	.sym	_iis0_init,_iis0_init, 32, 2, 0
	.func	135
;----------------------------------------------------------------------
; 135 | void iis0_init(void)                                                   
;----------------------------------------------------------------------

;******************************************************************************
;* FUNCTION NAME: _iis0_init                                                  *
;*                                                                            *
;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6,  *
;*                           B7,B8,B9,SP                                      *
;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,B0,B1,B2,B3,B4,B5,B6,  *
;*                           B7,B8,B9,DP,SP                                   *
;*   Local Frame Size  : 0 Args + 0 Auto + 4 Save = 4 byte                    *
;******************************************************************************

;******************************************************************************
;*                                                                            *
;* Using -g (debug) with optimization (-o3) may disable key optimizations!    *
;*                                                                            *
;******************************************************************************
_iis0_init:
;** --------------------------------------------------------------------------*
	.line	2
	.sym	_gie,20, 14, 4, 32
	.sym	_base,0, 30, 4, 32
	.sym	_x0,16, 4, 4, 32
	.sym	_x1,5, 4, 4, 32
	.sym	_x2,3, 4, 4, 32
	.sym	_x3,23, 4, 4, 32
	.sym	_x4,24, 4, 4, 32
	.sym	_x5,25, 4, 4, 32
	.sym	_x6,22, 4, 4, 32
	.sym	_x7,21, 4, 4, 32
           STW     .D2T2   B3,*SP--(8)       ; |136| 

⌨️ 快捷键说明

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