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

📄 audio_ld.lst

📁 DSP6000,bios APPLICATIONS 源码程序
💻 LST
字号:
TMS320C6x COFF Assembler         Version 4.00     Fri Feb 16 15:51:01 2001
Copyright (c) 1996-2000 Texas Instruments Incorporated
audio_ld.s62                                                         PAGE    1

       1                    ;
       2                    ;  Copyright 2000 by Texas Instruments Incorporated.
       3                    ;  All rights reserved. Property of Texas Instruments Incorporated.
       4                    ;  Restricted rights to use, duplicate or disclose this code are
       5                    ;  granted through contract.
       6                    ;  U.S. Patent Nos. 5,283,900  5,392,448
       7                    ;
       8                    ; "@(#) DSP/BIOS 4.00 03-27-00 (barracuda-e08)"
       9                    ;
      10                    ;  ======== audio_ld.s62 ========
      11                    ;
      12                    ;
      13                    ;  C-callable interface to assembly language utility functions for the
      14                    ;  audio example.
      15                    
      16                    
      17                            .ref _AUDIO_load
      18                    
      19 00000000                   .text
      20                    
      21          000003E8  N               .set    1000
      22                    
      23                    ;
      24                    ;  ======== _AUDIO_load ========
      25                    ;  This function simulates a load on the DSP by executing N * loopCount
      26                    ;  instructions, where loopCount is the input parameter to AUDIO_load().
      27                    ;
      28                    ;      void AUDIO_load(int loopCount)
      29                    ;
      30                    ;  The loop is using 8 instructions. One instruction for sub, nop and
      31                    ;  b, plus nop 5. The extra nop added after sub is to make the number
      32                    ;  of instructions in the loop a power of 2.
      33                    ;
      34 00000000           _AUDIO_load:
      35                    
      36 00000000 001011A2          mv a4, b0               ; use b0 as loop counter
      37 00000004 30000512    [!b0] b lend                  ; goto lend if b0 = 0
      38 00000008 0081F42A          mvk N,b1
      39 0000000c 00002C82          mpy b1,b0,b0
      40 00000010 00000000          nop
      41 00000014 000069A2          shru b0,3,b0            ; (loop counter)= (# loops)/8 
      42                    
      43 00000018           loop:
      44 00000018 0003E1A2          sub b0,1,b0
      45 0000001c 00000000          nop
      46 00000020 2FFFFF12     [b0] b loop
      47 00000024 00008000          nop 5
      48                    
      49 00000028 000C0362  lend:   b b3
      50 0000002c 00008000          nop 5                   ; return
      51                            
      52                            .end

 No Errors, No Warnings

⌨️ 快捷键说明

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