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

📄 ad535.asm

📁 Using DSP/BIOS I/O in Multichannel Systems
💻 ASM
📖 第 1 页 / 共 4 页
字号:
;******************************************************************************
;* TMS320C6x ANSI C Codegen                                      Version 4.00 *
;* Date/Time created: Fri Sep 15 10:30:10 2000                                *
;******************************************************************************

;******************************************************************************
;* GLOBAL FILE PARAMETERS                                                     *
;*                                                                            *
;*   Architecture      : TMS320C620x                                          *
;*   Optimization      : Enabled at level 1                                   *
;*   Optimizing for    : Compile time 1st, speed 2nd                          *
;*                       Based on options: -o1, no -ms                        *
;*   Endian            : Little                                               *
;*   Interrupt Thrshld : Disabled                                             *
;*   Memory Model      : Small                                                *
;*   Calls to RTS      : Near                                                 *
;*   Pipelining        : Disabled                                             *
;*   Memory Aliases    : Presume not aliases (optimistic)                     *
;*   Debug Info        : Debug                                                *
;*                                                                            *
;******************************************************************************

FP	.set	A15
DP	.set	B14
SP	.set	B15
	.global	$bss

;	opt6x -t -h2 -s -O1 c:\windows\TEMP\TI407213_2 c:\windows\TEMP\TI407213_4 -w c:/ti/myprojects/spra689/examples/dsk/examples/pip/pip1 
	.file	"ad535.c"
	.file	"C:\ti\c6000\bios\include\std.h"
	.file	"C:\ti\c6000\bios\include\log.h"
	.file	"/ti/c6000/ssl/include/stdinc.h"
	.file	"/ti/c6000/ssl/include/mcbsp.h"
	.file	"C:\ti\c6000\bios\include\log.h"
	.stag	_LOG_Obj, 0
	.eos
	.sym	_LOG_Handle, 0, 24, 13, 32,_LOG_Obj
	.sym	_Int, 0, 4, 13, 32
	.sym	_Arg, 0, 4, 13, 32
	.file	"/ti/c6000/ssl/include/mcbsp.h"
	.stag	_T0, 128
	.member	_Allocated, 0, 14, 8, 32
	.member	_XmtEventId, 32, 14, 8, 32
	.member	_RcvEventId, 64, 14, 8, 32
	.member	_BaseAddr, 96, 30, 8, 32
	.eos
	.sym	_BOOL, 0, 14, 13, 32
	.sym	_UINT32, 0, 14, 13, 32
	.sym	_UINT32, 0, 14, 13, 32
	.sym	_MCBSP_HANDLE, 0, 24, 13, 32,_T0
	.file	"ad535.c"
	.sym	_Uns, 0, 14, 13, 32
	.file	"C:\ti\c6000\bios\include\log.h"
	.file	"/ti/c6000/ssl/include/mcbsp.h"
	.file	"ad535.c"
	.sect	".text"
	.sym	_codec_error,_codec_error, 32, 3, 0
	.func	73

;******************************************************************************
;* FUNCTION NAME: _codec_error                                                *
;*                                                                            *
;*   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                    *
;******************************************************************************
_codec_error:
;** --------------------------------------------------------------------------*
	.sym	_id,4, 4, 17, 32
	.sym	_id,20, 4, 4, 32
;** 75	-----------------------    LOG_event(LOG_D_system, id, (int)"Error setting up register %d", 9);
           STW     .D2T2   B3,*SP--(8)       ; |73| 
	.line	2
           MV      .L2X    A4,B4             ; |74| 
	.line	3
           B       .S1     _LOG_event        ; |75| 
           LDW     .D2T1   *+DP(_LOG_D_system),A4 ; |75| 
           MVKL    .S2     RL0,B3            ; |75| 
           MVK     .S2     0x9,B6            ; |75| 
           MVKL    .S1     SL1+0,A6          ; |75| 

           MVKH    .S2     RL0,B3            ; |75| 
||         MVKH    .S1     SL1+0,A6          ; |75| 

RL0:       ; CALL OCCURS                     ; |75| 
;** --------------------------------------------------------------------------*
L1:    
;**	-----------------------g2:
;** 79	-----------------------    goto g2;
	.line	7
           B       .S1     L1                ; |79| 
           NOP             5
           ; BRANCH OCCURS                   ; |79| 
;** --------------------------------------------------------------------------*
	.line	8
	.endfunc	80,000080000h,8


	.sect	".text"
	.sym	_codec_init,_codec_init, 32, 3, 0
	.func	85

;******************************************************************************
;* FUNCTION NAME: _codec_init                                                 *
;*                                                                            *
;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
;*                           B6,B7,B8,B9,SP                                   *
;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,B0,B1,B2,B3,B4,B5, *
;*                           B6,B7,B8,B9,SP                                   *
;*   Local Frame Size  : 0 Args + 4 Auto + 8 Save = 12 byte                   *
;******************************************************************************
_codec_init:
;** --------------------------------------------------------------------------*
	.sym	_hMcbsp,4, 24, 17, 32, _T0
	.sym	_hMcbsp,10, 24, 4, 32, _T0
	.sym	_temp,4, 14, 1, 32
;** 98	-----------------------    mcbsp_read(hMcbsp);
;** 99	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 100	-----------------------    mcbsp_read(hMcbsp);
;** 101	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 102	-----------------------    mcbsp_read(hMcbsp);
;** 103	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 104	-----------------------    mcbsp_read(hMcbsp);
;** 105	-----------------------    mcbsp_write(hMcbsp, 1u);
;** 106	-----------------------    mcbsp_read(hMcbsp);
;** 107	-----------------------    mcbsp_write(hMcbsp, 902u);
;** 108	-----------------------    mcbsp_read(hMcbsp);
           STW     .D2T2   B3,*SP--(16)      ; |85| 
           STW     .D2T1   A10,*+SP(12)      ; |85| 
	.line	2
           MV      .L1     A4,A10            ; |86| 
	.line	14
           B       .S1     _mcbsp_read       ; |98| 
           MVKL    .S2     RL2,B3            ; |98| 
           MVKH    .S2     RL2,B3            ; |98| 
           NOP             3
RL2:       ; CALL OCCURS                     ; |98| 
	.line	15
           B       .S1     _mcbsp_write      ; |99| 
           MVKL    .S2     RL4,B3            ; |99| 
           MV      .L1     A10,A4            ; |99| 
           MVKH    .S2     RL4,B3            ; |99| 
           ZERO    .L2     B4                ; |99| 
           NOP             1
RL4:       ; CALL OCCURS                     ; |99| 
	.line	16
           B       .S1     _mcbsp_read       ; |100| 
           MVKL    .S2     RL6,B3            ; |100| 
           MV      .L1     A10,A4            ; |100| 
           MVKH    .S2     RL6,B3            ; |100| 
           NOP             2
RL6:       ; CALL OCCURS                     ; |100| 
	.line	17
           B       .S1     _mcbsp_write      ; |101| 
           MVKL    .S2     RL8,B3            ; |101| 
           MV      .L1     A10,A4            ; |101| 
           MVKH    .S2     RL8,B3            ; |101| 
           ZERO    .L2     B4                ; |101| 
           NOP             1
RL8:       ; CALL OCCURS                     ; |101| 
	.line	18
           B       .S1     _mcbsp_read       ; |102| 
           MVKL    .S2     RL10,B3           ; |102| 
           MVKH    .S2     RL10,B3           ; |102| 
           MV      .L1     A10,A4            ; |102| 
           NOP             2
RL10:      ; CALL OCCURS                     ; |102| 
	.line	19
           B       .S1     _mcbsp_write      ; |103| 
           MVKL    .S2     RL12,B3           ; |103| 
           MV      .L1     A10,A4            ; |103| 
           MVKH    .S2     RL12,B3           ; |103| 
           ZERO    .L2     B4                ; |103| 
           NOP             1
RL12:      ; CALL OCCURS                     ; |103| 
	.line	20
           B       .S1     _mcbsp_read       ; |104| 
           MVKL    .S2     RL14,B3           ; |104| 
           MV      .L1     A10,A4            ; |104| 
           MVKH    .S2     RL14,B3           ; |104| 
           NOP             2
RL14:      ; CALL OCCURS                     ; |104| 
	.line	21
           B       .S1     _mcbsp_write      ; |105| 
           MVKL    .S2     RL16,B3           ; |105| 
           MVKH    .S2     RL16,B3           ; |105| 
           MVK     .S2     0x1,B4            ; |105| 
           MV      .L1     A10,A4            ; |105| 
           NOP             1
RL16:      ; CALL OCCURS                     ; |105| 
	.line	22
           B       .S1     _mcbsp_read       ; |106| 
           MVKL    .S2     RL18,B3           ; |106| 
           MVKH    .S2     RL18,B3           ; |106| 
           MV      .L1     A10,A4            ; |106| 
           NOP             2
RL18:      ; CALL OCCURS                     ; |106| 
	.line	23
           B       .S1     _mcbsp_write      ; |107| 
           MVK     .S2     0x386,B4          ; |107| 
           MVKL    .S2     RL20,B3           ; |107| 
           MV      .L1     A10,A4            ; |107| 
           MVKH    .S2     RL20,B3           ; |107| 
           NOP             1
RL20:      ; CALL OCCURS                     ; |107| 
	.line	24
           B       .S1     _mcbsp_read       ; |108| 
           MVKL    .S2     RL22,B3           ; |108| 
           MVKH    .S2     RL22,B3           ; |108| 
           MV      .L1     A10,A4            ; |108| 
           NOP             2
RL22:      ; CALL OCCURS                     ; |108| 
;** --------------------------------------------------------------------------*
;** 109	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 110	-----------------------    mcbsp_read(hMcbsp);
;** 113	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 114	-----------------------    mcbsp_read(hMcbsp);
;** 115	-----------------------    mcbsp_write(hMcbsp, 0u);
;** 116	-----------------------    mcbsp_read(hMcbsp);
;** 117	-----------------------    mcbsp_write(hMcbsp, 1u);
;** 118	-----------------------    mcbsp_read(hMcbsp);
;** 119	-----------------------    mcbsp_write(hMcbsp, 774u);
;** 120	-----------------------    mcbsp_read(hMcbsp);
;** 121	-----------------------    mcbsp_write(hMcbsp, 0u);
	.line	25
           B       .S1     _mcbsp_write      ; |109| 
           MVKL    .S2     RL24,B3           ; |109| 
           MVKH    .S2     RL24,B3           ; |109| 
           MV      .L1     A10,A4            ; |109| 
           ZERO    .L2     B4                ; |109| 
           NOP             1
RL24:      ; CALL OCCURS                     ; |109| 
	.line	26
           B       .S1     _mcbsp_read       ; |110| 
           MVKL    .S2     RL26,B3           ; |110| 
           MV      .L1     A10,A4            ; |110| 
           MVKH    .S2     RL26,B3           ; |110| 
           NOP             2
RL26:      ; CALL OCCURS                     ; |110| 
	.line	29
           B       .S1     _mcbsp_write      ; |113| 
           MVKL    .S2     RL28,B3           ; |113| 
           MV      .L1     A10,A4            ; |113| 
           MVKH    .S2     RL28,B3           ; |113| 
           ZERO    .L2     B4                ; |113| 
           NOP             1
RL28:      ; CALL OCCURS                     ; |113| 
	.line	30
           B       .S1     _mcbsp_read       ; |114| 
           MVKL    .S2     RL30,B3           ; |114| 
           MV      .L1     A10,A4            ; |114| 
           MVKH    .S2     RL30,B3           ; |114| 
           NOP             2
RL30:      ; CALL OCCURS                     ; |114| 
	.line	31
           B       .S1     _mcbsp_write      ; |115| 
           MVKL    .S2     RL32,B3           ; |115| 
           MV      .L1     A10,A4            ; |115| 
           ZERO    .L2     B4                ; |115| 
           MVKH    .S2     RL32,B3           ; |115| 
           NOP             1
RL32:      ; CALL OCCURS                     ; |115| 
	.line	32
           B       .S1     _mcbsp_read       ; |116| 
           MVKL    .S2     RL34,B3           ; |116| 
           MVKH    .S2     RL34,B3           ; |116| 
           MV      .L1     A10,A4            ; |116| 

⌨️ 快捷键说明

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