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

How to detect overflow condition, How to detect overflow condition An o...

How to detect overflow condition An overflow condition can be notice by observing the carry into the sign bit position and the carry out of sign bit position. If this carries a

What are the characteristics of sram, What are the characteristics of SRAM?...

What are the characteristics of SRAM? SRAM are fast They are volatile They are of high cost Less density

Subprogram, create a stored procedure to debit a bank account user must ent...

create a stored procedure to debit a bank account user must enter account no. and amount to debited from account .the minimum balance in account should be 500. if the debited amoun

Avoiding overfitting - decision tree learning , Avoiding Overfitting : ...

Avoiding Overfitting : However remember there that in the previous lecture, there is over fitting that common problem in machine learning. Furthermore details to decision tree

How to load dos from floppy disk, Q. How to load DOS from Floppy Disk? ...

Q. How to load DOS from Floppy Disk? If DOS is not setup on the Hard Disk of your PC, or you want to load DOS from the Floppy disk drive due to any reason, follow these steps:

Vector processing with pipelining-vector processing, Vector Processing with...

Vector Processing with Pipelining: Since in vector processing, vector instructions perform the similar computation on dissimilar data operands repeatedly, vector processing is most

What is called static and dynamic branch prediction, What is called static ...

What is called static and dynamic branch prediction? The branch prediction decision is always the similar every time a given instruction is implemented. Any approach that has t

Displays a message when an applet starts up, Write an applet that sets the ...

Write an applet that sets the background colour to cyan and foreground colour to red and displays a message that illustrates the order in which various applet methods are called wh

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