piclist 1999\09\06\173825a >
Thread: Optimized binary to BCD Conversion
picon face BY : Mike Keitz email (remove spam text)

On Mon, 6 Sep 1999 15:42:10 -0400 Jason Sachs <.....jsachsEraseMEspam.....DEKARESEARCH.COM>
> I've got a routine that converts 16- and 24-bit binary
> to packed BCD, based on Mike Keitz's "b2bcd" posted
> here last year. (msg forwarded at end)

I see you've alrady found my entry.  I like the BCD multiply by 2 method
especially as the numbers get larger.  It is probably the best for speed.
Methods based on division may save space if you already have a division
routine in the program for some other purpose and can reuse it.

Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: dl.http://www.juno.com/dynoget/tagj.

<19990906.173510.-171165.4.mkeitz@juno.com> 7bit

See also: www.piclist.com/techref/index.htm?key=optimized+binary
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Optimized binary to BCD Conversion

month overview.

new search...