How to convert binary number to bcd number

Hi,
can any one tell me how to convert a given binary number into its equal bcd number.😕

Replies

  • electron1212
    electron1212
    first you need to convert the binary number in a decimal and then convert it into BCD.
    For Example :
    suppose u need to convert binary number : (1111111) into bcd so,
    Step 1 : convert it into decimal : 127
    Step 2 : write binary equivalent for each digit in 4 bits i.e.
    0001 0010 0111 <--bcd equivalent
  • Raviteja.g
    Raviteja.g
    yes it is right
    but, can we build a digital circuit for this task using logic gates.
    Any idea to build a digital circuit
  • komputergeek
    komputergeek
    Raviteja.g
    can we build a digital circuit for this task using logic gates.
    I found one circuit diagram here:
    #-Link-Snipped-#

You are reading an archived discussion.

Related Posts

Why computer hangs ? Is it deadlock ?? Is it some device working disorder ??? what is it actually ???😕 Lets discuss
Hi, can any one tell me how the traversal operations take place in binary trees. Especially how the recursion takes place in such operations.:sshhh:
😎Dear sir , i am mechanical student of last year I am thinking to construct a device which will charge small battries. Can u suggest me how i proceed my...
CEans, Those who are not aware of CE Small Talk, please take a look here -> Small Talk Every month (well, almost!) we try to publish Small Talks with people...
hello... I need suggestion regarding buying of laptop with what O.S considering the fact that i am a .net developer.... will vista home premium help or not????