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

Determine the current through each resistor, For the circuit of Fig 1a: ...

For the circuit of Fig 1a: (i) Using Ohm's Law , determine the equivalent resistance across the battery (ii)  determine the current through each resistor (iii) the arrang

Society in engineering, cite a specific example in which the engineer must ...

cite a specific example in which the engineer must provide maximum efficiency for a given cost.

Scr, what is finger voltage?

what is finger voltage?

Discuss one application of 8254 programmable interval timer, Discuss any on...

Discuss any one application of 8254 Programmable Interval Timer in detail. Mode1 causes the counter to treat as a retriggerable monostable multivibrator one shot. The G inpu

Calculate area of heating surface, Question: An evaporator is a device ...

Question: An evaporator is a device in which a feed stream is concentrated by boiling a solution. A combination of heating and reduced pressure are used to induce the boiling.

Rotating magnetic fields, When a machine has more than two poles, only a si...

When a machine has more than two poles, only a single pair of poles needs to be considered because the electric, magnetic, and mechanical conditions associated with every other pol

Compute the rated-load efficiency, The following data apply to a 100-kW, 25...

The following data apply to a 100-kW, 250-V, six-pole, 1000-r/min long-shunt compound generator: no-load rotational losses 4000 W, armature resistance at 75°C = 0.015 , series-fie

Illustrate about crossbar exchange, Q. Explain crossbar exchange, with all ...

Q. Explain crossbar exchange, with all call processing steps and diagrams. Ans: The basic concept of crossbar switching is to provide a matrix of n x m sets of contacts with

Find the new direct transfer gain, A voltage amplifier without feedback has...

A voltage amplifier without feedback has a nominal gain of 500. The gain, however, varies in the range of 475 to 525 due to parameter variations. In order to reduce the per-unit ch

Reflection and retraction in cables and their calculations, How do I calcul...

How do I calculate the line-cable and cable-line values of reflection and refraction coordinates?

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