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

Find the real and reactive powers per phase, Q. A 345-kV, 60-Hz, three-phas...

Q. A 345-kV, 60-Hz, three-phase transmission line delivers 600 MVA at 0.866 power factor lagging to a three-phase load connected to its receiving- end terminals. Assuming that the

Find current through resistor using superposition theorem, Find the current...

Find the current through each resistor for the networking below using Superposition Theorem.

Installed in circuit board, Can we measure the resistor if it is installed ...

Can we measure the resistor if it is installed in circuit board? Ans) You can calculate a resistor in a circuit but the circuit will most likely affect the value read (general

Name the materials used in case of solder, Name the materials used in case ...

Name the materials used in case of Solder and give reasons. Solder : For soft solders tin, lead (in 50-50 ratio) alloy and for hard solders copper- zinc and silver alloy

Determine the slip at which maximum torque, A three-phase, 220-V, 60-Hz, fo...

A three-phase, 220-V, 60-Hz, four-pole, wye connected induction motor has a per-phase stator resistance of 0.5 . The following no-load and blocked rotor test data on the motor are

Discuss the feature of pentium in brief, Discuss the feature of Pentium in ...

Discuss the feature of Pentium in brief. The Pentium is a 32-bit superscalar, CISC microprocessor.  The word superscalar is used for the processor that has more than one pipeli

Revision of basics, Revision  of Basics Although  it is  assumed in th...

Revision  of Basics Although  it is  assumed in this book  that the  reader has  enough  knowledge of  various number systems ( binary, octal and hexadecimal and their relation

Equalizer rings, purpose of equalizer rings in lap winding

purpose of equalizer rings in lap winding

Heterodyne wave analyzer, Q.   What is a wave analyzer? Explain any one tec...

Q.   What is a wave analyzer? Explain any one technique of wave analyzer giving its application also. OR Write short note on HETERODYNE Wave analyzer. OR Explai

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