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

Evaluate maximum directive gain, Q. For a pyramidal-horn antenna, the maxim...

Q. For a pyramidal-horn antenna, the maximum directive gain is given by occurring when the aperture dimensions are A ∼ = √3λLandB = 0.81A. The principal-plane beam- widths

Strategic perspective of an organization, Strategic Perspective of An organ...

Strategic Perspective of An organization Strategic perspectives cover functions such as revenue, customer satisfaction, people, procedure and technology. Every organization re

Charge variation with time, Q. A charge variation with time is given in Fig...

Q. A charge variation with time is given in Figure. Draw the corresponding current variation with time.

Datapath and a datapath logic cell, Explain what is meant by a datapath and...

Explain what is meant by a datapath and a datapath logic cell illustrating your answer by reference to a suitable function using diagrams as appropriate. Show using a diagram ho

Obtain expressions for the in-phase and quadrature component, Q. For DSB an...

Q. For DSB and conventional AM, obtain expressions for the in-phase and quadrature components x d (t) and x q (t), and envelope and phase v(t) and φ(t).

Discuss the disadvantages of an rc coupled amplifier, Q. Discuss the disadv...

Q. Discuss the disadvantages of an RC coupled amplifier? RC coupled amplifiers have a few disadvantages. The resistors use dc power and so the amplifier has low efficiency. The

About semi conductor, explain compensation and charge neutrality in GaAs

explain compensation and charge neutrality in GaAs

The classical free electron theory, The free electron theory of metals was ...

The free electron theory of metals was first proposed by Drude and later improved by Lorentz. The main postulates of this theory are 1.       All metal contain, adequate number

Features of modern ic engines, The IC engine based automobiles have been bu...

The IC engine based automobiles have been built and sold for more than 100 years. Predominantly the fuels used for running these IC engines have been petrol and diesel. In recent t

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