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

Ac-dc voltages , To do the basic laboratory experiments related to the elec...

To do the basic laboratory experiments related to the electrical engineering course, students need to have some basic understanding about the measuring tools, apparatus, components

Electrical and electronic principles, 12. A capacitor is to be constructed ...

12. A capacitor is to be constructed so that its capacitance is 0.2µF and to take a p.d. of 1.25kV across its terminals. The dielectric is to be mica which, after allowing a safety

Give a short description of soft ferrites, Give a short description of soft...

Give a short description of soft ferrites . Soft ferrites and their applications: all non- metallic compounds are consisting of ferric oxide and one or two bivalent metal oxid

DC motor and DC generator, write down the similarities between motors and g...

write down the similarities between motors and generators

Amperes circuital law, Amperes Circuital Law The    observation    tha...

Amperes Circuital Law The    observation    that    magnetic    field strength varied with distance from the wire led to the following statement: 'If  the  magnetic  field

Define amplification factor, Q. Define amplification factor? Amplifica...

Q. Define amplification factor? Amplification factor  μ It is the ratio of the drain -source voltage (ΔVDS) to the change in the gate to source voltage (ΔV GS ) at constan

Electromechanical energy conversion and device, importance of electromechan...

importance of electromechanical energy conversion and device in electrical engineering

Network theorems, what is the limitations of maximum power transfer thorem ...

what is the limitations of maximum power transfer thorem ?

Determine the expected voltage levels at the output, The subsequent voltage...

The subsequent voltage-source multiplying DAC is to be utilized to convert the digital data stream "11" and "01" to an analog signal.  It has 2-bit inputs and hence is capable of c

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