Monday, September 6, 2010

Question 2

How BCD to Excess-3 code converter is performing subtraction operation???

4 comments:

  1. if we analyse the bcd code and excess 3 code converter critically we can find that the excess 3 code can be achived by adding 0011
    ( decimal equivalent is 3)with bcd numbers. so a 4-bit binary adder can solve the purpose.
    4- bit binary adder can be employed to obtain the 4-bit binary subtraction, by using 1's and 2's complement. by 1's complement the bits of the subtrahend are complemented and added to the minuend. If any carry is generated it is added to the sum output.

    ReplyDelete
  2. Constructing a BCD-to-excess-3-code converter with a 4-bit adder we know that the excess-3 code digit is obtained by adding three to the corresponding BCD digit. To change the circuit to an excess-3-to-BCD-code converter we feed BCD-code to the 4-bit adder as the first operand.

    Then feed constant 3 as the second operand. The output is the corresponding excess-3 code. To make it a BCD to

    excess-3 converter, we feed the 2's complement of 3 as the second operand.

    ReplyDelete
  3. Subtraction operation is usually implemented with a binary adder when using the standard two's complement notation, by providing an addition selector to the carry-in and to invert the second operand.

    ReplyDelete
  4. through the binary adder subtraction operation is done with 2's complement by giving addition selector 2 carry in and inverting the second operand it can perform the operation

    ReplyDelete