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

What are the signals used in input control signal, What are the signals use...

What are the signals used in input control signal & output control signal? Input control signal STB (Strobe input) IBF (Input buffer full) INTR(Interrupt request) Ou

Pulse width modulation, Change the brightness of the most beneficial illumi...

Change the brightness of the most beneficial illuminated LED to represent voltages among the ranges so that if the value is half way among the range then the LED should be 50% brig

Define wireless communications, Q. Define wireless communications? The ...

Q. Define wireless communications? The latest wireless communications technology is the personal satellite phone. The coverage is planetary and one can reach anywhere on earth.

Cro, oscilloscope probes specification & performance

oscilloscope probes specification & performance

Logically and the contents of register, Logically AND  the contents of Reg...

Logically AND  the contents of Register Contents of  register are logically AND with the accumulator bit wise. The result  of the AND  operation is  stored  in the accumulat

Show the familiar electric sources, Q. Show the familiar electric sources? ...

Q. Show the familiar electric sources? Batteries and ac outlets are the familiar electric sources. These are voltage sources.An ideal voltage source is one whose terminal volta

Simulation of a pn junction, Simulation of a pn Junction An n + p jun...

Simulation of a pn Junction An n + p junction is fabricated on a p-type silicon substrate with N A = 8×10 15 cm -3 . The n+ region has a concentration of N D = 1.5×10 18

UJT Help, What''s the formula for the VB2'' in a UJT?

What''s the formula for the VB2'' in a UJT?

Compute efficiency of transformer in power factor lagging, Q. A 10-kVA, 200...

Q. A 10-kVA, 200:400-V, single-phase transformer gave these test results: • Open-circuit test (LVwinding supplied): 200V, 3.2 A, 450 W • Short-circuit test (HV winding suppli

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