Chinaunix首页 | 论坛 | 博客
  • 博客访问: 41369
  • 博文数量: 14
  • 博客积分: 1472
  • 博客等级: 上尉
  • 技术积分: 160
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-09 09:34
文章分类

全部博文(14)

文章存档

2013年(6)

2011年(1)

2010年(6)

2009年(1)

我的朋友

发布时间:2013-03-23 10:08:18

BCD Arithmetic, a tutorialPart of the Arithmetic Tutorial Collection by Douglas W. Jones THE UNIVERSITY OF IOWA Department of Computer Science Copyright © 1999, Douglas. W. Jones, with major revisions made in 2002. This work may be transmitted or stored in electronic form .........【阅读全文】

阅读(707) | 评论(0) | 转发(0)

发布时间:2013-03-23 10:04:38

Binary to Decimal Conversion in Limited PrecisionPart of the Arithmetic Tutorial Collection by Douglas W. Jones THE UNIVERSITY OF IOWA Department of Computer Science Copyright © 1999, Douglas. W. Jones, with major revisions mad e in 2002 and a small update in 2007. This wo.........【阅读全文】

阅读(747) | 评论(0) | 转发(0)

发布时间:2013-03-23 09:43:26

近来在项目中,要在EEPROM中存储最近48小数的数据,使用的MCU为兼容的8052芯片(V9001,电能计量SOC),考虑到使用的是模拟I2C和52的处理能力,使用一个循环队列来控制数据存储的位置.一.队列构建struct Queue{  uint16  xdata *DataID;  uint8    Size;  uint8 front;  /.........【阅读全文】

阅读(576) | 评论(0) | 转发(0)

发布时间:2013-03-23 09:41:01

CRC-16 IBM  x 16 + x 15 + x 2 + 1 CRC编码的原理,网上有很多,简单的说就是将数据用生成式进行模2除法。 这里我主要写一下,查表法的原理。 一、原理: 数据项: <BnBn-1Bn-2Bn-3,...,B3B2B1> 先查表获得Bn的两字节余式,将该余式的高8位与Bn-1进行模2运算,假定B'n-1,低8位与Bn-2进行模2.........【阅读全文】

阅读(581) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

flb_20012010-09-08 08:00

回复  |  举报
留言热议
请登录后留言。

登录 注册