文件名称:HEXtoBCD
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 高**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在目前所发表的十六进制转化成BCD码的处法中,一般都采用移位相加的方法,其计算过程都比较费时,不适宜很多场合,且很多不适宜C语言调用。而在C语言中,有些初学者用求余的方法来做这种运算,造成程序十分臃肿。下面这段程序仿照竖式除法来进行运算,速度超快。-Published in the current hex code into a BCD at law, in general, have adopted the method of shifting the sum of its calculation is relatively time-consuming and not suitable for many occasions and many of them not suitable for C language calls. In the C language, some beginners seeking more than the method used to do this operation, resulting in a very cumbersome process. This procedure along the lines of the following vertical division to carry out operations, super-fast.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
复件 HEXtoBCD.ASM