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

Carrier concentrations, Carrier Concentrations For the calcu...

Carrier Concentrations For the calculation of semiconductor electrical properties and analyzing device behavior, it is necessary to know the number of charge carrier

Electonic principles, can you help with my electronic principle assignment

can you help with my electronic principle assignment

Shunt motor, if the shunt motor has reduce as half load then what effect on...

if the shunt motor has reduce as half load then what effect on speed

Collector-coupled astable multivibrator, what happens when the resistors ha...

what happens when the resistors have different values

Explain graphic adapter and monitor, Explain graphic adapter and monitor. ...

Explain graphic adapter and monitor. Video card changes digital output from the computer in an analog video signal and sends the signal by a cable to the monitor also termed a

Carrier modulation by digital signals, Q. Carrier Modulation by Digital Sig...

Q. Carrier Modulation by Digital Signals? Digitally modulated signals with low-pass spectral characteristics can be transmitted directly through baseband channels (having low-p

Find the new gain for the inverting-amplifier circuit, Q. An op amp has a f...

Q. An op amp has a finite gain of only 50, but is otherwise ideal. For the inverting-amplifier circuit of Figure, if R 2 = 20 k, what value of R 1 would be needed to give a gain

Numerical analysis curve fitting, Ask question #Minimum 100 wThe voltage v...

Ask question #Minimum 100 wThe voltage v across a capacitor at time t seconds is given by the following table. Use the principle of least squares to fit a curve of the form v = ae

Project, electrical project produse eneargy desingn

electrical project produse eneargy desingn

Magnetic circuits with air gaps, The creation of a magnetic field in a ring...

The creation of a magnetic field in a ring may need to be accessed by means of an air gap. This is typically used to apply the magnetic field to a current carrying conductor to pro

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