Binary subtraction , Electrical Engineering

Assignment Help:

Binary Subtraction

Negative numbers are represented in 2 complement form and subtraction is also  per formed  using  2 complement  method in microprocessor. Hence we will  discuss only 2  compliment method  of subtraction in this book.

To find  2 compliment of any binary  number

Use followings  steps

Find 1 complement  of the given  binary  number convert all 0 to 1 and  all 1 to 0 s.

Add 1  to the obtained d1  complement number to get the 2 complement of the original number.

The  obtained  binary number will  be the  negative  of the given  number.

Example :  Find 2 complement  of 010110112.  ( equal to + 9110)

Solution : 1 complement  of the given number is:    10100100

    Add 1                                                                            1

The 2 complement  form of the number                  101000101

This  will represent  -9110 in microprocessor.


Related Discussions:- Binary subtraction

What is photovoltaics?, Photovoltaics  is a high-technology approach  to ch...

Photovoltaics  is a high-technology approach  to changing sunlight  directly  into  electrical  energy.  The  electricity  is direct  current  and  can  be  used  that  way,  chnag

Discuss the foreign exchange market equilibrium, Q. To answer the following...

Q. To answer the following question, please refer to the figure below. Concentrating only at the upper right quadrant, discuss the foreign exchange market equilibrium. Answer:

Current-carrying conductors, Q. Current-carrying conductors? Current-ca...

Q. Current-carrying conductors? Current-carrying conductors, when placed in magnetic fields, experience mechanical force. Considering only the effect of the magnetic field, the

Gis application architecture, GIS application architecture: GIS applic...

GIS application architecture: GIS application architecture should 1  Give a framework and the essential programming interfaces to enable complex GIS applications to be deve

Chemical vapour deposition, Explain chemical vapour deposition method for t...

Explain chemical vapour deposition method for the preparation of nanomaterial and its properties

Ac, power factor improvement

power factor improvement

Show the subtraction method, Q. Show the Subtraction Method? For this p...

Q. Show the Subtraction Method? For this procedure (method), start with a weighted position value greater that the number. If the number is greater than the weighted position f

Explain about elementary direct-current machines, Q. Explain about Elementa...

Q. Explain about Elementary Direct-Current Machines? A preliminary discussion of dc machines, including Equations. The location of the brushes on the commutator arrangement con

Show advantages and disadvantages of a r-c couple amplifier, Q. What are th...

Q. What are the advantages and disadvantages of a R-C coupled amplifier. Advantages · It has excellent frequency response. The gain is constant over the audio frequency ra

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