/*** *5510单片机测试程序 基本测试成功 2005-8-25 write By CW *** *** *** *** *** ****/ #include <reg52.h> #include <absacc.h> #define uInt unsigned Int #define uchar unsigned char
上传时间: 2013-11-25
上传用户:q123321
SWI with ARTX Kernel and RealView Compiler This example program shows how to implement software Interrupt functions in an application that uses the ARTX Kernel. The example uses the RealView Compilation Tools. The file SWI_Table.s implements the SWI function table. The SWI function declarations and implementations are demonstrated in the file Artx_SWI.c.
标签: implement Compiler RealView software
上传时间: 2015-05-30
上传用户:chenlong
1、(1)32bit乘法的指令解释 (2)volume1的load.asm基础上实现一个 16bit数组的乘法累加的函数,并进行 -o2 / -o3 / 手工优化 2、c环境 C调用汇编函数,汇编函数调用c函数 addarr3(Int * arr1, Int * arr2, Int * arr3, Int * arr4, n) //汇编函数,3个数组的对应位置相加,结果放在arr4[n]中, 汇编函数调用C的子函数,它把arr1和arr2相加放到arr3[n]中; addarr2(Int * arr1, Int * arr2, Int * arr3, n)
上传时间: 2014-01-08
上传用户:bibirnovis
参照栈类模板的例子编写一个队列类模板class <T> Queue,私有成员包括:队首指针Front,队尾指针Tail,队列容积max。实现:构造函数Queue,析构函数,入队函数In,出队函数Out(每次出队,后面的元素自动前移一位),判队列空函数Empty。并分别用队列类模板定义Int和float对象,调用各个成员函数
上传时间: 2013-12-03
上传用户:BIBI
#include "define.h" #include <stdio.h> #include <string.h> #include <ctype.h> #include <malloc.h> FILE *fp /*////////////////////////////////////////////////////////////////////////////// This is a pretreatment. /////////////////////////////////////////////////////////////////////////////*/ void readIntoBuffer(char buffer[256]) { char ch1 char temp Int i for(i=0 i<256&&!feof(fp) i++) { ch1=fgetc(fp) if(ch1== )
上传时间: 2015-07-16
上传用户:ynsnjs
//=== === === === === === === === === === === ===== //函数说明 //函数名称:Correlation //函数功能:计算最小二乘法拟合的多项式的相关系数 //使用方法:Int M------ 拟合多项式的阶数(已知条件) // double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件) // double *x--- 结点x轴数据(已知条件) // double *y--- 结点y轴数据(已知条件) // double *Yg-- 结点估计值,个数为m(过程变量) // Int m------ 结点个数(已知条件) //注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2
标签: Correlation 函数 计算 最小二乘法拟合
上传时间: 2013-11-26
上传用户:change0329
//=== === === === === === === === === === === ===== //函数说明 //函数名称:Correlation //函数功能:计算最小二乘法拟合的多项式的相关系数 //使用方法:Int M------拟合多项式的项数(已知条件) // double *b---拟合曲线的系数,按升次排列(已知条件) // double *x---结点x轴数据(已知条件) // double *y---结点y轴数据(已知条件) // double *Yg--结点估计值,与*y相对应,个数为m(过程变量) // Int m------结点个数(已知条件) //注意事项:多项式阶数最高为10,多项式的形式为 y = b0 + b1*(x-Xavr)...
标签: Correlation 函数 计算 最小二乘法拟合
上传时间: 2014-11-23
上传用户:yxgi5
//=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // Int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // Int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m<=n,且 // m<=20。若m>n或m>20,则本函数自动按m=min{n,20}处理 // double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)...
上传时间: 2015-07-19
上传用户:waizhang
C++ XML is a book exclusively devoted to the power and complexities of Integrating XML standards Into C++.
标签: complexities exclusively Integrating XML
上传时间: 2013-12-18
上传用户:jqy_china
class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (!append) { tf.setText("") append=true } String s=tf.getText() s+=e.getActionCommand() tf.setText(s) if (!btn[10].isEnabled()){ for(Int i=10 i<=14 i++) btn[i].setEnabled(true) } }
标签: actionPerformed NumberListener ActionListener ActionEvent
上传时间: 2013-12-05
上传用户:wys0120