FoggyLog

Wed Sep 2nd 2009 14:10:45: dec2bcd in c

#define DEC2BCD(dec) (((dec / 10) << 4) + (dec % 10))

 

Add New Comment

Name:
Email:
(Never displayed publically)
Comment:
HTML Tags allowed - <b>bold</b>, <i>italic</i> and <a href="http://...">Links</a>
Type "NoSpam" in Here:

 

<< Back