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

Commutator, explan Two segment and four sagment commutator action

explan Two segment and four sagment commutator action

Representation of magnetic fields, The direction of the magnetic field line...

The direction of the magnetic field lines is given by 'Maxwell's Right-Hand corkscrew rule'  The thumb of the right hand indicates the direction of current flow in the wire and

Determine the peak fundamental component of the mmf, Q. A two-pole, three-p...

Q. A two-pole, three-phase synchronous generator has a balanced three-phase winding with 15 turns per phase. If the three-phase currents are given by i a = 100 cos 377t, i b =

Event triggering, what is event triggering related to digital storage oscil...

what is event triggering related to digital storage oscilloscope?

Emitter follwer, Ask questertion #Minimum 100 words accepted#

Ask questertion #Minimum 100 words accepted#

Details of a distribution transformer, Electrical network details: 1  ...

Electrical network details: 1          single line diagrams with conductor sizes, transformer locations, consumer location, lengths, capacitors, and load, etc., 2

Chemistry, explain why entropy of a gas increases with volume and tempeart...

explain why entropy of a gas increases with volume and tempearture

Common source drain and transfer characteristics of a jfet, Q. Draw the com...

Q. Draw the common source drain and transfer characteristics of a JFET. How are they useful? The graph below shows  variation of the drain current Id as a function of the drain

Instrument, Differentiate between dual beam and dual trace oscilloscope

Differentiate between dual beam and dual trace oscilloscope

Briefly discuss about cascaded amplifier, Q. Briefly discuss about ‘Cascade...

Q. Briefly discuss about ‘Cascaded Amplifier' using a diagram? Amplifiers are cascaded when the output of the first is the input to the second. The combined gain is whe

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