Re: Fast Binary to BCD method on ARM9 with huge numbers?

From: Uwe Hercksen (hercksen_at_mew.uni-erlangen.de)
Date: 03/10/04


Date: Wed, 10 Mar 2004 17:09:05 +0100


Al Borowski schrieb:
>
> I have an ARM9 based system, and am trying to convert a large binary
> number into BCD. The legacy codebase works in BCD, and changing it is
> not an option. I also need all the digits, not just some.
>
> The number I can trying to convert may be *huge*. I have a positive
> ingtger that could span many words, in the format
>
Hello,

what about doing all calculations with the large number in BCD instead
of binary?
This would require more bytes to store the number, but the conversion is
no longer necessary.

Bye



Relevant Pages