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

Dc motor, what is the reason of low meagger result of dc motor

what is the reason of low meagger result of dc motor

Sketch the individual phase flux contributions, Q. Consider the balanced th...

Q. Consider the balanced three-phase alternating currents, shown in Figure, to be flowing in phases a, b, and c, respectively, of the two pole stator structure shown in Figure with

Explain polyphase induction motor, Q. Explain polyphase induction motor? ...

Q. Explain polyphase induction motor? The polyphase induction motor operates with polyphase alternating current applied to the primary winding, usually located on the stator of

Determine the voltage gain , (a) A second order Sallen and Key Low Pass Act...

(a) A second order Sallen and Key Low Pass Active Filter has these component values R 1 =R 2 =15 kΩ, C 1 =C 2 =1 nF and the feedback resistors are R 3 =3.9 kΩ and R 4 =2.3 kΩ

Find the first-null bandwidth, An audiomessage is band-limited to 15 kHz, s...

An audiomessage is band-limited to 15 kHz, sampled at twice the Nyquist rate, and encoded by a 12-bit natural binary code that corresponds to Lb = 212 = 4096 levels, all of which s

Use of capacitor in technical loss reduction, Use of Capacitor in Technical...

Use of Capacitor in Technical Loss Reduction The use of capacitors to correct for poor power factor is a well-built and cost-effective means of reducing distribution system lo

Transformers, Are you able to give a list of factors that could be consider...

Are you able to give a list of factors that could be considered as the transformer''s characteristics?

Electric Machines, Ask questiDesing a suitable double - layer lap windingon...

Ask questiDesing a suitable double - layer lap windingon #Minimum 100 words accepted#

Emf produced by windings, Q. emf produced by windings? The time variati...

Q. emf produced by windings? The time variation of emf for a single conductor corresponds to the spatial variation of air-gap flux density. By suitable winding design, the harm

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