marceleza
Joined: 24 May 2006 Posts: 6 Location: S㯠Paulo - Brazil
|
BCD to Bin (16 bits) |
Posted: Sun Jun 03, 2007 10:30 am |
|
|
Hi!
I am trying to make the conversion of a BCD number of 16 bits for binary. I obtained the number and to integrate them in an only variable of 16 bits. (example: 31 , 32, 33, 34 received by serial in the number 1234)
1234 in bcd is equal to 4D2 in hex
How I make the conversion?
Already I found examples in 8 bits, but in 16 still not.
Yours trully |
|