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

Diatomic molecules in three dimensions, Consider the open rotation of a dia...

Consider the open rotation of a diatomic molecule consisting of two atoms of mass and respectively divided by a distance presume that the molecule is rigid with center of mass fixe

Pre-processing requirements - cpld design project , The pre-processing unit...

The pre-processing unit is responsible for taking the conditioned output from the heart sensor and generating a binary count during time T1 of this waveform (datain). It will compr

What do you understand by breakdown diodes, (a) Draw and illustrate the V-I...

(a) Draw and illustrate the V-I characteristics of PN junction diode. How the characteristics reflected with change in temperature? (b) Describe physically why a PN junction dio

The b-h curve for ferromagnetic materials, Ferromagnetic materials have som...

Ferromagnetic materials have some 'residual magnetism' even when the current (proportional to H) is zero. Material with strong residual magnetism are useful for making permanent ma

Find the voltage gain, Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k...

Q. In a CD amplifier,given Rs =4k?, µ=50 and rd= 35k μ. Find the voltage gain Av. The voltage gain,  A v = Vo / V i = µR s / (µ+1) R s + rd = 50*4* (103 )/ (50+1)*4*103

Calculate turns ratio, A switch-mode power supply is to be designed with th...

A switch-mode power supply is to be designed with the following specifications: input voltage V s = 48 V ± 10%, output voltage V o = 5 V, switching frequency f s = 100 kHz, outp

Simplest equivalent circuit topology using lumped elements, Simplest equiva...

Simplest equivalent circuit topology using lumped elements: For each of the Smith chart traces below, sketch (at the right of each chart) the simplest equivalent circuit topol

What is meant by blanking, a. Explain the following terms: (6) (i) Persi...

a. Explain the following terms: (6) (i) Persistence of vision (ii) Flicker in motion pictures b. What is meant by blanking? What is the need of blanking pulses? Compare th

Explain memory mapped i/o scheme, Explain Memory Mapped I/O Scheme. Me...

Explain Memory Mapped I/O Scheme. Memory Mapped I/O Scheme: In such scheme there is only one address space. These address space is defined as all possible addresses which m

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