Let me be clear, by this I don't just mean convert 1.01 * 2 ^ 010 to "5". I'm talking about the exponent as well. This is the true challenge. The mantissa is fairly easy to convert, just find the trailing bit and then pass it through a basic Binary to BCD converter. That would be it for the mantissa, but I don't want that. I want to convert the exponent as well.
People told me to just pass it through a binary to BCD decoder, but this makes no sense, because if we literally translated 1.01 * 2 ^ 010 to 5 * 2 ^ 2, that would be incorrect. 2 ^ 0 is 8, and 5 * 8 is 40. I am talking about real base conversion here. I want to turn 1.01 * 2 ^ 010 into 5 * 10 ^ 0. But how? I am required to do this in order to replicate the Versuchsmodell 1. Please, I need this. Thank you very much.
Sorry the edit is because I messed up the shifts. I meant to type 010, not 011. That would be 10, sorry