windozeuser
Member
I have an array (4 byte) with each byte being a possible BCD digit 0 to 9
How can I convert this entire byte BCD array into a 16 bit binary number?
I'm treating the entire array as one number, so array+3 = thousands, array+2 = hundreds, array+1 = tens, array = units
How can I convert this entire byte BCD array into a 16 bit binary number?
I'm treating the entire array as one number, so array+3 = thousands, array+2 = hundreds, array+1 = tens, array = units