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 effect and bipolar junction transistor, Q. What is the difference bet...

Q. What is the difference between field effect transistor and the bipolar junction transistor? The important points of the comparison between the field effect transistor ands t

Explain what is interrupt latency, Interrupt latency refers to the amount o...

Interrupt latency refers to the amount of time among when an interrupt is triggered and when the interrupt is observe by software.

Dc machines, compound generator drawback

compound generator drawback

Speed control of stepper motor by using microcontroller 89c5, Hello sir, m ...

Hello sir, m engineering final year student, we made a project as I mentioned above, I wanna add some extra feature on it, meant to modified it...want to add up some extra feature

Determine the highest value of voltage regulation, Q. A 25-kVA, 2200:220-V,...

Q. A 25-kVA, 2200:220-V, 60-Hz, single-phase transformer has an equivalent series impedance of 3.5 + j4.0  referred to the primary high- voltage side. (a) Determine the highest

Engineering design, following on from the first tma in this module, produce...

following on from the first tma in this module, produce a design report for one design of the product based on one of the scenarios covered on the following pages.

Give some applications of german silver, Give some applications of German s...

Give some applications of German silver. German silver is an alloy of zinc, nickel and copper. German silver is used in electrical measuring instruments.

Line diagrams of a network-large company, i need a line diagram sample of a...

i need a line diagram sample of a large network, i need to practice how to draw and design such network

Primacy of mosfet, Primacy of MOSFET In the year 1959, Dawon Kahng an...

Primacy of MOSFET In the year 1959, Dawon Kahng and Martin M. (John) Atalla at Bell laboratory invented the MOSFET. Operationally and structurally diverse from the bipolar ju

Determine flux in the central limb, Determine flux in the central limb: ...

Determine flux in the central limb: For the magnetic circuit shown in Figure the value of flux in the right limb is 0.48 m Wb and the number of turns wound on the central limb

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