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

Define hysteresis, Define Hysteresis Hysteresis is the 'lagging' effect...

Define Hysteresis Hysteresis is the 'lagging' effect of flux density B whenever there are changes in the magnetic field strength H. When an initially unmagnetized ferromagnetic

Explain the working of a single stage rc coupled amplifier, Q. Diagram, exp...

Q. Diagram, explain the construction of a single stage RC coupled amplifier? An RC Coupled amplifier consists of a transistor connected in the emitter configuration with neces

Determine the capacitor voltage, Q. In an RLC series circuit excited by a v...

Q. In an RLC series circuit excited by a voltage source v(t), for R = 10 , L = 1 H, and C = 0.1F, determine v(t) if the capacitor voltage vC(t) = 5e -10t V.

What is the significance of source gate cutoff voltage, Q. What is the sign...

Q. What is the significance of source gate cutoff voltage? The source gate cutoff voltage is also called pinch off voltage. It is obtained when VDS increases and approaches a l

Thevenins theorem, How to solve questions on thevenin theorem

How to solve questions on thevenin theorem

Advantages of subscriber loops signalling, Q. Advantages of subscriber loop...

Q. Advantages of subscriber loops signalling? (i) Information can be exchange between processors much more faster than when channel associated signalling is used. (ii) As a

Module of the rated currents - transformer, Module of the rated currents - ...

Module of the rated currents - transformer: The transformer of the Face(Figure) 2 is a transformer of type Delta-Y (the neutral of Y is grounded). The rated output is of 1500

Circuit theory, derivation for two watt meter method

derivation for two watt meter method

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