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

Data can be moved using a ''write:'' statement, Data can be moved from one ...

Data can be moved from one field to another using a 'Write:' Statement and stored in the desired format.  Write: Date_1 to Date_2 format DD/MM/YY.

Define the difference between union and structure, Define the difference be...

Define the difference between union and structure The main difference between union and structure is the storage allocation. In Union , for each variable the compiler allocates

#microprocessor, Program to transfer 10 byte of data from DMS to EMS using ...

Program to transfer 10 byte of data from DMS to EMS using 8086 instructions

Insert images in dreamweaver, Q. Insert images in Dreamweaver? You will...

Q. Insert images in Dreamweaver? You will learn two methods to insert images in Dreamweaver-using Dreamweaver's main menu and using Objects panel. 1. Click anywhere in the l

Write a program that will solve a puzzle, You will write a program that wil...

You will write a program that will solve a version of the common newspaper puzzle \word search." In the puzzle you are given a grid lled with characters and a list of words to nd

What is game playing ai, This covers a number of game playing methods, nota...

This covers a number of game playing methods, notably checkers and backgammon because so much good research has been completed on these problems and because so many different metho

menu-driven program, Write a menu-driven program to change a time in secon...

Write a menu-driven program to change a time in seconds to other units (minutes, hours, etc.).  The main script will loop to continue until the user chooses to exit.  Every time in

What are the input devices, What are the Input devices Various devices ...

What are the Input devices Various devices are available for data input on graphics workstations. Most systems have a keyboard and one or more additional devices specially desi

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