
Re: Binary to BCD converter IC?
On Fri, 8 Feb 2008 08:08:33 -0800 (PST), ivanatora
<ivanatora@gmail.com> wrote:
>> ---
>> With 8-bit address and data spaces:
>>
>> BINARY BCD BCD DECIMAL
>> ADDRESS MSD LSD DISPLAY
>> -----------|------|------|--------
>> 0000 0000 0000 0000 00
>> 0000 0001 0000 0001 01
>> 0000 0010 0000 0010 02
>> 0000 0011 0000 0011 03
>> 0000 0100 0000 0100 04
>> 0000 0101 0000 0101 05
>> 0000 0110 0000 0110 06
>> 0000 0111 0000 0111 07
>> 0000 1000 0000 1000 08
>> 0000 1001 0000 1001 09
>> 0000 1010 0001 0000 10
>> 0000 1011 0001 0001 11
>> 0000 1100 0001 0010 12
>> 0000 1101 0001 0011 13
>> 0000 1110 0001 0100 14
>> 0000 1111 0001 0101 15
>> 0001 0000 0001 0110 16
>> 0001 0001 0001 0111 17
>> 0001 0010 0001 1000 18
>> 0001 0011 0001 0000 19 <--Oops
>> 0001 0100 0010 0000 20
>> 0001 0101 0010 0001 21
>> .
>> .
>> .
>> 1001 1001 1001 1001 99
>> --
>> JF
>Mapping all 100 possible combinations? That seems pretty exhausting

---
It shouldn't be, just write a binary to BCD routine which will
generate a file your EPROM programmer can use to burn the target
EPROM.
---
>I see it now, thanks for the example!
---
You're welcome!
The 'Oops' should read:
BINARY BCD BCD DECIMAL
ADDRESS MSD LSD DISPLAY
-----------|------|------|---------
0001 0011 0001 1001 19
Another good reason for letting a machine do it instead of doing it
by hand, LOL!