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

📄 exp3c5x_3.c

📁 用dsp解压mp3程序的算法
💻 C
字号:
/*****************************************************************
*  exp3c5x_3.c - C program for adding a series of numbers
*                for CCS experiments in Section 3.7.3.3
******************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <intrindefs.h>

/*****************************************************************
*    Define variable arrays variables
*****************************************************************/
 
int num[8] = {19660, 19660, 6554, -9830, -32768, -29491, 9830, 6554};
int i,y;

void main()
{
  /* Understand the difference between _saad and _lsaad */
  /* _lsadd can be treated as OVM turn off              */

  y = num[0];
  for (i=0; i<7; i++)
  {
    y = _sadd(num[i+1],y);
  }
}

⌨️ 快捷键说明

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