I am converting a hex 0xE0 to BCD. When I do this I am getting back a 64. I know this is completely wrong and maybe it\'s something in my C++ code, but 64 just doesn\'t sound correct. Any ideas? Is 0x
I\'d like to know if there is a simple way to \"cast开发者_运维问答\" a byte array containing a data-structure of a known layout to an Object. The byte[] consists of BCD packed values, 1 or 2-byte int
I was able to modify the solutio开发者_如何学Pythonn provided by Brad Christie to get the results I am expecting for the Hours, Minutes, Seconds, Months, Days, and Years all of which are in BCD Format
can someone explain to me how to convert BCD to开发者_StackOverflow中文版 Hexadecimal? For example how can i convert 98(BCD) to Hexadecimal.
How do you tell the differe开发者_如何学运维nce? For example, say you have 0110 0101 1001 0011.
I\'ve written a function in c that converts a byte (unsigned char) BCD string into ASCII.Please have look at the code and advice some improvements.
I know BCD is like more intuitive datatype if you don\'t know binary. But I don\'t know why to use this encoding, its like don\'t makes a lot of sense since its waste