用递规子程序的方法实现HANOI塔问题.子程序模块个数不限. 要求: 盘子个数可以输入,第一个塔为A,第二个塔为B,第三个塔 的名称为C.打印出移动过程.
上传时间: 2013-12-17
上传用户:Yukiseop
ATMega8 中断方式UART测试程序 ,其硬件:CA-M8 时钟:外部4MHz
上传时间: 2014-01-07
上传用户:changeboy
企业物资管理系统 为了使物资管理部门的责、权、利得到落实, 以提高总体的经济效益,采用J2EE 技术体系, 设计与实现了B/S 模式下的企业物资管理系统, 依据开发实例,分析了企业物资管理系统的业务需求和设计目标, 详细讨论了系统的实现技术、实现方案及安全设计
上传时间: 2015-10-22
上传用户:liglechongchong
红外线遥控器解码程序(汇编) ORG 0000H AJMP MAIN ORG 0003H 外部中断INT0入口地址 AJMP INT 转中断服务子程序 MAIN: MOV SP,#40H MOV P1,#00H SETB EA 开CPU中断 SETB IT0 设定INT0触发方式 SETB EX0 INT0请求中断 DSP: MOV R2,#9 将遥控器键值转化成A(0~9) MOV DPTR,#TAB1 VV: MOV A,R2 MOVC A,@A+DPTR XRL A,1CH JZ ABC DJNZ R2,VV ABC: MOV A,R2 MOV DPTR,#TAB ;将A的值通过数码管显示出来
上传时间: 2014-01-12
上传用户:wkchong
Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
标签: representation Magnitude the magnitude
上传时间: 2013-12-24
上传用户:金宜
一个旅行家想驾驶汽车从城市A到城市B(设出发时油箱是空的)。给定两个城市之间的距离dis、汽车油箱的容量c、每升汽油能行驶的距离d、沿途油站数n、油站i离出发点的距离d[i]以及该站每升汽油的价格p[i],i=1,2,…,n。设d[1]=0<d[2]<…<d[n]。要花最少的油费从城市A到城市B,在每个加油站应加多少油,最少花费为多少?
上传时间: 2013-12-31
上传用户:redmoons
b样条曲线,有控制点的求法,还有用OPENGL显示算法
标签:
上传时间: 2014-01-27
上传用户:evil
8098单片机的外部中断 又EXTINT输入的外部中断
上传时间: 2013-12-19
上传用户:c12228
8098单片机中断优先级别及登记 对两个外部中断同时产生中断请求
上传时间: 2013-12-20
上传用户:jqy_china
学生选课vb‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序?】蝪b‘源程序
标签: 源程序
上传时间: 2014-01-13
上传用户:三人用菜