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

Field Service Enginer, Give three reasons why a chamfer shouldn''t an "unim...

Give three reasons why a chamfer shouldn''t an "unimportant" dimension

Applications of thermodynamics, what are the applications of thermodynamics...

what are the applications of thermodynamics in Electrical Engineering?

Explain the purpose of the i/o instructions in and out, Explain the purpose...

Explain the purpose of the I/O instructions IN and OUT. The IN instruction is used to move data from an I/O port into the accumulator. The OUT instruction is used to move d

Explain corrosion, Explain Corrosion. Corrosion: The process of constan...

Explain Corrosion. Corrosion: The process of constant eating (or destruction) up of metals (by the surface) by the surrounding is termed as corrosion. These metals are corroded

Bjt, what is compensation of bjt

what is compensation of bjt

Mobile and wirelss communicatio, In a CDMA system, the signal is spr...

In a CDMA system, the signal is spread over a large bandwidth by multiplying the transmitted symbol by a sequence of short pulses, also called chips. The

What is tri-state logic, Three Logic Levels are used and they are High, Low...

Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri

Peak inverse voltage - thyristor, Peak inverse Voltage   Peak  inverse v...

Peak inverse Voltage   Peak  inverse voltage is   important parameter in the design of rectifier circuit. PIV is the maximum  voltage that appears across the device  during its

Actual loading method, Actual Loading Method This method is employed c...

Actual Loading Method This method is employed commonly for testing of single phase meters within laboratory. On a meter testing bench that is equipped along with several taps

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