Add the equation by using 648 and 487 in bcd code, Computer Engineering

Assignment Help:

Add 648 and 487 in BCD code.

Ans. In BCD Code, addition of 648 and 487:

6 4 8  =  0 1 1 0   0 1 0 0      1 0 0 0
4 8 7  =  0 1 0 0   1 0 0 0      0 1 1 1
--------------------------------------------------
             1 0 1 0   1 1 0 0     1 1 1 1

                10           12          15
--------------------------------------------------
In the given problem every three groups are invalid, since the four bit sum is more than 9. In these cases, add +6(that is 0110) to the 4 bit sum to skip the 6 invalid states. Whether a carry is generated while adding 6, so add the carry to the next four bit group that is,

6 4 8  =  0 1 1 0   0 1 0 0  1 0 0 0
4 8 7  =  0 1 0 0   1 0 0 0   0 1 1 1
--------------------------------------------------
             1 0 1 0     1 1 0 0    1 1 1 1
           0 1 1 0     0 1 1 0    0 1 1 0
      1   1 1    1     1       1    1 1
------------------------------------------------------
0001   0 0 0 1      0 0 1 1    0 1 0 1


1            1              3              5
-------------------------------------------------------

Hence addition of 648 and 487 is 1135 in BCD Code.


Related Discussions:- Add the equation by using 648 and 487 in bcd code

What is mask operation, What is MASK OPERATION The mask operation is si...

What is MASK OPERATION The mask operation is similar to selective-clear operation except which the bits of Aare cleared only where there are corresponding 0's in register B. th

What is enctype, ENCTYPE="application/x-www-form-urlencoded" and in its pl...

ENCTYPE="application/x-www-form-urlencoded" and in its place use ENCTYPE="text/plain". The subsequent illustration displays a general form which includes some of the commo

Multiple assign statements targeting the same wire, What logic is inferred ...

What logic is inferred when there are multiple assign statements targeting the same wire? It's illegal to specify multiple assign statements to the same wire in a synthesizable

?????, c program??????????

c program??????????

What is an arithmetic processor, Q. What is an arithmetic processor? A ...

Q. What is an arithmetic processor? A distinctive CPU necessitates most of the control and data processing hardware for implementing non-arithmetic functions. As the hardware c

Function makestk-predicate function emptystk, 1. Create the following ADTs....

1. Create the following ADTs. (a) Write the constructor function makestk, predicate function emptystk and mutator functions pushstk and popstk: i. makestk returns a new stack

Prepare a decision tree, A part of an aircraft engine can be given a test b...

A part of an aircraft engine can be given a test before installation.  The test has a 75% chance of revealing a defect if it is present, and the same chance of passing a sound part

Electrically erasable programmable read only memory- EEPROM, Electrically e...

Electrically erasable programmable read only memory (EEPROM) An EEPROM is a special type of PROM which can be erased by exposing it to an electrical charge. Like other kinds of

State the example of begin end, State the Example of begin end module s...

State the Example of begin end module sequential(); reg a; initial begin $monitor ("‰g a = ‰b", $time, a); #10 a = 0; #11 a = 1; #12 a = 0; #13 a = 1; #

What are the features of prom, What are the features of PROM? They are ...

What are the features of PROM? They are programmed directly by the user. Faster Less expensive More Flexible

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd