Re: A85: BCD
[Prev][Next][Index][Thread]
Re: A85: BCD
On Thu, 21 May 1998, Justin M Bosch wrote:
>
> >Now that I'm on vacation I can finish the BCD routines I started about
> >a
> >year ago; am I the world's laziest programmer or what?
>
> What exactly is bcd?
>
Binary Coded Decimal.
You only work in 0-9. Packed BCD uses 4 bits to represent the numbers
0-9, unpacked BCD uses a whole byte. My routines operate on unpacked but
you store them as packed and just unpack them when you want to use them...
probably more than you wanted or cared to know.
> Justin Bosch
> justin-b@juno.com
-Humberto Yeverino Jr.
"I kick ass for the Lord."
http://www.engr.csufresno.edu/~humberto/Home.html
humberto@engr.csufresno.edu
<font size=3>For browsers:<br>
<a href="http://www.engr.csufresno.edu/~humberto/Home.html">
Have a look.</a></font><br>
References: