文件名称:MSC51-FTOD
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 第**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序说明:浮点数变为压缩BCD码,保存在以数组中
第1字节的位7:0正,1负.位6:0(位5--0代表小数点前的位数),1(位5--0代表小数
点后0的位数)
2--4字节为压缩BCD码,有效位为7位,3个半字节,最后半个字节请使用者自行放
弃
程序占用资源PSW,A,B,DPTR,R0--R7,SP深度6,RAM 5个放数据
keil 兼容,调用KEIL 的FPMUL子程序。
程序作者:*************陈远征**************
目 的:追求更快的执行速度,与最小的程序代码
发布时间:2003--05--08
编写背景:精通汇编,研究C51半个月。身感C51方便中的不便
研究了几种汇编及KEIL的浮点算法,特做此程序.
声 明:转载时请保留以上的信息
-Procedure Descr iption: BCD floating-point numbers into a compression code, stored in the array in the first 1-bit byte is 7:0, one negative. Bit 6:0 (bit 5 0 on behalf of the decimal point in front of the median), 1 (bit 5 0 on behalf of the digit after the decimal point 0) 2 4 bytes for the compressed BCD code, valid for 7-bit, three semi-byte, the last half-byte user to opt-out procedure, please occupied resources PSW, A, B, DPTR , R0 R7, SP depth of 6, RAM 5 months keil release data compatibility, subprogram call KEIL the FPMUL. Procedures Author :************* Chen expedition************** Objective: To pursue the implementation of faster speed, with the smallest code Published: 2003 05 08 the preparation of background: proficient in the compilation, research C51 half a month. C51 body to facilitate a sense of inconvenience in study and compilation of several of the floating-point arithmetic KEIL, special procedures to do this. Disclaimer: Please retain the above reprint information
第1字节的位7:0正,1负.位6:0(位5--0代表小数点前的位数),1(位5--0代表小数
点后0的位数)
2--4字节为压缩BCD码,有效位为7位,3个半字节,最后半个字节请使用者自行放
弃
程序占用资源PSW,A,B,DPTR,R0--R7,SP深度6,RAM 5个放数据
keil 兼容,调用KEIL 的FPMUL子程序。
程序作者:*************陈远征**************
目 的:追求更快的执行速度,与最小的程序代码
发布时间:2003--05--08
编写背景:精通汇编,研究C51半个月。身感C51方便中的不便
研究了几种汇编及KEIL的浮点算法,特做此程序.
声 明:转载时请保留以上的信息
-Procedure Descr iption: BCD floating-point numbers into a compression code, stored in the array in the first 1-bit byte is 7:0, one negative. Bit 6:0 (bit 5 0 on behalf of the decimal point in front of the median), 1 (bit 5 0 on behalf of the digit after the decimal point 0) 2 4 bytes for the compressed BCD code, valid for 7-bit, three semi-byte, the last half-byte user to opt-out procedure, please occupied resources PSW, A, B, DPTR , R0 R7, SP depth of 6, RAM 5 months keil release data compatibility, subprogram call KEIL the FPMUL. Procedures Author :************* Chen expedition************** Objective: To pursue the implementation of faster speed, with the smallest code Published: 2003 05 08 the preparation of background: proficient in the compilation, research C51 half a month. C51 body to facilitate a sense of inconvenience in study and compilation of several of the floating-point arithmetic KEIL, special procedures to do this. Disclaimer: Please retain the above reprint information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MSC51-FTOD.txt