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

📄 txmain.asm

📁 MIMO 2x2接收端选择全系统仿真代码
💻 ASM
📖 第 1 页 / 共 5 页
字号:
||         ZERO    .D2     B4                ; |185| 

RL15:      ; CALL OCCURS                     ; |185| 
	.line	30
           MVKL    .S2     _TxStates+4,B4    ; |188| 

           ZERO    .D1     A0                ; |188| 
||         MVKH    .S2     _TxStates+4,B4    ; |188| 

           STW     .D2T1   A0,*B4            ; |188| 
           NOP             2
	.line	31
           MVKL    .S1     _TxStates+8,A0    ; |189| 

           MVKH    .S1     _TxStates+8,A0    ; |189| 
||         MVK     .S2     2,B4              ; |189| 

           STW     .D1T2   B4,*A0            ; |189| 
           NOP             2
	.line	32
           MVKL    .S2     _TxStates+12,B4   ; |190| 

           ZERO    .D1     A0                ; |190| 
||         MVKH    .S2     _TxStates+12,B4   ; |190| 

           STW     .D2T1   A0,*B4            ; |190| 
           NOP             2
	.line	33
           MVKL    .S1     _TxStates+16,A0   ; |191| 

           MVKH    .S1     _TxStates+16,A0   ; |191| 
||         ZERO    .D1     A3                ; |191| 

           STW     .D1T1   A3,*A0            ; |191| 
           NOP             2
	.line	34
           MVKL    .S1     _TxStates,A0      ; |192| 

           MVKH    .S1     _TxStates,A0      ; |192| 
||         MVK     .S2     1,B4              ; |192| 

           STW     .D1T2   B4,*A0            ; |192| 
           NOP             2
	.line	35
           MVKL    .S2     _TxStates+20,B4   ; |193| 

           ZERO    .D1     A0                ; |193| 
||         MVKH    .S2     _TxStates+20,B4   ; |193| 

           STW     .D2T1   A0,*B4            ; |193| 
           NOP             2
	.line	37

           MVKL    .S1     _TxStates+4,A0    ; |195| 
||         MVKL    .S2     _HostCommState,B4 ; |195| 

           MVKH    .S1     _TxStates+4,A0    ; |195| 
||         MVKH    .S2     _HostCommState,B4 ; |195| 

           STW     .D2T1   A0,*B4            ; |195| 
           NOP             2
	.line	38

           MVKL    .S1     _pDataBuff,A0     ; |196| 
||         MVKL    .S2     _HostCommState+4,B4 ; |196| 

           MVKH    .S1     _pDataBuff,A0     ; |196| 
||         MVKH    .S2     _HostCommState+4,B4 ; |196| 

           STW     .D2T1   A0,*B4            ; |196| 
           NOP             2
	.line	39

           MVKL    .S1     _TxStates+12,A0   ; |197| 
||         MVKL    .S2     _HostCommState+8,B4 ; |197| 

           MVKH    .S1     _TxStates+12,A0   ; |197| 
||         MVKH    .S2     _HostCommState+8,B4 ; |197| 

           STW     .D2T1   A0,*B4            ; |197| 
           NOP             2
	.line	40

           MVKL    .S2     _HostCommState+12,B4 ; |198| 
||         MVKL    .S1     _TxStates,A0      ; |198| 

           MVKH    .S2     _HostCommState+12,B4 ; |198| 
||         MVKH    .S1     _TxStates,A0      ; |198| 

           STW     .D2T1   A0,*B4            ; |198| 
           NOP             2
	.line	41

           MVKL    .S1     _TxStates+20,A0   ; |199| 
||         MVKL    .S2     _HostCommState+20,B4 ; |199| 

           MVKH    .S1     _TxStates+20,A0   ; |199| 
||         MVKH    .S2     _HostCommState+20,B4 ; |199| 

           STW     .D2T1   A0,*B4            ; |199| 
           NOP             2
	.line	42

           MVKL    .S1     _TxStates+8,A0    ; |200| 
||         MVKL    .S2     _HostCommState+16,B4 ; |200| 

           MVKH    .S1     _TxStates+8,A0    ; |200| 
||         MVKH    .S2     _HostCommState+16,B4 ; |200| 

           STW     .D2T1   A0,*B4            ; |200| 
           NOP             2
	.line	43

           MVKL    .S1     _TxStates+16,A0   ; |201| 
||         MVKL    .S2     _HostCommState+24,B4 ; |201| 

           MVKH    .S1     _TxStates+16,A0   ; |201| 
||         MVKH    .S2     _HostCommState+24,B4 ; |201| 

           STW     .D2T1   A0,*B4            ; |201| 
           NOP             2
	.line	44

           MVKL    .S1     _TxStates+20,A0   ; |202| 
||         MVKL    .S2     _HostCommState+20,B4 ; |202| 

           MVKH    .S1     _TxStates+20,A0   ; |202| 
||         MVKH    .S2     _HostCommState+20,B4 ; |202| 

           STW     .D2T1   A0,*B4            ; |202| 
           NOP             2
	.line	46

           MVKL    .S1     _pFrameBufferTot1I,A0 ; |204| 
||         MVKL    .S2     _cplxFiltStat1,B4 ; |204| 

           MVKH    .S1     _pFrameBufferTot1I,A0 ; |204| 
||         MVKH    .S2     _cplxFiltStat1,B4 ; |204| 

           STW     .D2T1   A0,*B4            ; |204| 
           NOP             2
	.line	47

           MVKL    .S1     _pFrameBufferTot1Q,A0 ; |205| 
||         MVKL    .S2     _cplxFiltStat1+4,B4 ; |205| 

           MVKH    .S1     _pFrameBufferTot1Q,A0 ; |205| 
||         MVKH    .S2     _cplxFiltStat1+4,B4 ; |205| 

           STW     .D2T1   A0,*B4            ; |205| 
           NOP             2
	.line	48

           MVKL    .S1     _pFrameBufferTot2I,A0 ; |206| 
||         MVKL    .S2     _cplxFiltStat2,B4 ; |206| 

           MVKH    .S1     _pFrameBufferTot2I,A0 ; |206| 
||         MVKH    .S2     _cplxFiltStat2,B4 ; |206| 

           STW     .D2T1   A0,*B4            ; |206| 
           NOP             2
	.line	49

           MVKL    .S1     _pFrameBufferTot2Q,A0 ; |207| 
||         MVKL    .S2     _cplxFiltStat2+4,B4 ; |207| 

           MVKH    .S1     _pFrameBufferTot2Q,A0 ; |207| 
||         MVKH    .S2     _cplxFiltStat2+4,B4 ; |207| 

           STW     .D2T1   A0,*B4            ; |207| 
           NOP             2
	.line	50

           MVKL    .S1     _pFrameBufferTot1I+52,A0 ; |208| 
||         MVKL    .S2     _cplxBuffer1,B4   ; |208| 

           MVKH    .S1     _pFrameBufferTot1I+52,A0 ; |208| 
||         MVKH    .S2     _cplxBuffer1,B4   ; |208| 

           STW     .D2T1   A0,*B4            ; |208| 
           NOP             2
	.line	51

           MVKL    .S1     _pFrameBufferTot1Q+52,A0 ; |209| 
||         MVKL    .S2     _cplxBuffer1+4,B4 ; |209| 

           MVKH    .S1     _pFrameBufferTot1Q+52,A0 ; |209| 
||         MVKH    .S2     _cplxBuffer1+4,B4 ; |209| 

           STW     .D2T1   A0,*B4            ; |209| 
           NOP             2
	.line	52

           MVKL    .S1     _pFrameBufferTot2I+52,A0 ; |210| 
||         MVKL    .S2     _cplxBuffer2,B4   ; |210| 

           MVKH    .S1     _pFrameBufferTot2I+52,A0 ; |210| 
||         MVKH    .S2     _cplxBuffer2,B4   ; |210| 

           STW     .D2T1   A0,*B4            ; |210| 
           NOP             2
	.line	53

           MVKL    .S1     _pFrameBufferTot2Q+52,A0 ; |211| 
||         MVKL    .S2     _cplxBuffer2+4,B4 ; |211| 

           MVKH    .S1     _pFrameBufferTot2Q+52,A0 ; |211| 
||         MVKH    .S2     _cplxBuffer2+4,B4 ; |211| 

           STW     .D2T1   A0,*B4            ; |211| 
           NOP             2
	.line	55

           MVKL    .S1     _pBufferTemp1I,A0 ; |213| 
||         MVKL    .S2     _cplxTempOut1,B4  ; |213| 

           MVKH    .S1     _pBufferTemp1I,A0 ; |213| 
||         MVKH    .S2     _cplxTempOut1,B4  ; |213| 

           STW     .D2T1   A0,*B4            ; |213| 
           NOP             2
	.line	56

           MVKL    .S1     _pBufferTemp1Q,A0 ; |214| 
||         MVKL    .S2     _cplxTempOut1+4,B4 ; |214| 

           MVKH    .S1     _pBufferTemp1Q,A0 ; |214| 
||         MVKH    .S2     _cplxTempOut1+4,B4 ; |214| 

           STW     .D2T1   A0,*B4            ; |214| 
           NOP             2
	.line	57

           MVKL    .S1     _pBufferTemp2I,A0 ; |215| 
||         MVKL    .S2     _cplxTempOut2,B4  ; |215| 

           MVKH    .S1     _pBufferTemp2I,A0 ; |215| 
||         MVKH    .S2     _cplxTempOut2,B4  ; |215| 

           STW     .D2T1   A0,*B4            ; |215| 
           NOP             2
	.line	58

           MVKL    .S1     _pBufferTemp2Q,A0 ; |216| 
||         MVKL    .S2     _cplxTempOut2+4,B4 ; |216| 

           MVKH    .S1     _pBufferTemp2Q,A0 ; |216| 
||         MVKH    .S2     _cplxTempOut2+4,B4 ; |216| 

           STW     .D2T1   A0,*B4            ; |216| 
           NOP             2
	.line	61
           MVKL    .S1     _LOG_printf,A0    ; |219| 

           MVKH    .S1     _LOG_printf,A0    ; |219| 
||         MVKL    .S2     _trace,B5         ; |219| 

           CALL    .S2X    A0                ; |219| 
           MVKH    .S2     _trace,B5         ; |219| 
           MVKL    .S2     SL1+0,B4          ; |219| 
           MVKH    .S2     SL1+0,B4          ; |219| 

           STW     .D2T2   B4,*+SP(4)        ; |219| 
||         MVKL    .S2     RL16,B3           ; |219| 

           MV      .S1X    B5,A4             ; |219| 
||         MVKH    .S2     RL16,B3           ; |219| 

RL16:      ; CALL OCCURS                     ; |219| 
	.line	63
           LDW     .D2T2   *++SP(16),B3      ; |221| 
           NOP             4
           RET     .S2     B3                ; |221| 
           NOP             5
           ; BRANCH OCCURS                   ; |221| 
	.endfunc	221,000080000h,16



	.sect	".text"
	.global	_processMIMO
	.sym	_processMIMO,_processMIMO, 32, 2, 0
	.func	238

;******************************************************************************
;* FUNCTION NAME: _processMIMO                                                *
;*                                                                            *
;*   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,SP                                      *
;*   Local Frame Size  : 16 Args + 24 Auto + 4 Save = 44 byte                 *
;******************************************************************************
_processMIMO:
;** --------------------------------------------------------------------------*
	.line	2
	.sym	_pBufferXmt,4, 19, 17, 32
	.sym	_pBufferXmt,20, 19, 1, 32
	.sym	_n,24, 4, 1, 32
	.sym	_un,28, 14, 1, 32
	.sym	_uiOffset,32, 14, 1, 32
	.sym	_pSrc,36, 19, 1, 32
	.sym	_pDst,40, 19, 1, 32
           STW     .D2T2   B3,*SP--(48)      ; |239| 
           NOP             2
           STW     .D2T1   A4,*+SP(20)       ; |239| 
           NOP             2
	.line	13
           B       .S1     L36               ; |250| 
           NOP             5
           ; BRANCH OCCURS                   ; |250| 
;** --------------------------------------------------------------------------*
;** --------------------------------------------------------------------------*
L1:    
	.line	17
           MVKL    .S2     _LOG_printf,B4    ; |254| 
           MVKH    .S2     _LOG_printf,B4    ; |254| 

⌨️ 快捷键说明

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