bcd
BCD Calculator issue
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[详细]
2023-04-11 06:16 分类:问答How to parse byte[] (including BCD coded values) to Object in Java
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[详细]
2023-02-09 22:28 分类:问答BCD Hex String to Integer
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[详细]
2023-02-02 07:13 分类:问答Binary coded decimal (BCD) to Hexadecimal conversion
can someone explain to me how to convert BCD to开发者_StackOverflow中文版 Hexadecimal? For example how can i convert 98(BCD) to Hexadecimal.[详细]
2023-01-31 07:26 分类:问答Difference between signed and unsigned 16bit BCDs?
How do you tell the differe开发者_如何学运维nce? For example, say you have 0110 0101 1001 0011.[详细]
2023-01-24 05:59 分类:问答BYTE BCD to ASCII conversion optimization
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.[详细]
2023-01-13 20:04 分类:问答Assembler : why BCD exists?
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[详细]
2022-12-21 11:09 分类:问答