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

Design a signal generator, Aims Exploring the analog output capabili...

Aims Exploring the analog output capabilities of the PIC trainer Write PIC assembly code to implement a simple multi-function signal generator Equipment PIC Trainer

Explain soft magnetic materials, Explain Soft magnetic materials. So...

Explain Soft magnetic materials. Soft magnetic materials -They contain small enclosed area of hysteresis loop, high permeability low eddy current losses and high saturation

Electrical circuits and systems, Electrical circuits and systems : Elec...

Electrical circuits and systems : Electrical systems allow energy to be conveniently delivered from the point of supply to the point of application - e.g. electric railways, ca

Explain working of shaded-pole motors, Q. Explain working of Shaded-pole mo...

Q. Explain working of Shaded-pole motors? Shaded-pole motors: The least expensive of the fractional-horsepower motors, generally rated up to 1 / 20 hp, they have salient stator

Signals & systems, transformation of independent variable e.g. time related...

transformation of independent variable e.g. time related explaination

Explain the asynchronous decade counter, Explain the Asynchronous Decade Co...

Explain the Asynchronous Decade Counter? The binary counters earlier introduced have two to the power n states. But the counters with states less than this number are as well

Determine the forced component of the voltage, Q. Consider an RL series cir...

Q. Consider an RL series circuit excited by (a) v(t) = 20e -2t V, and (b) v(t) = 20 V. Determine the forced component of the voltage across the inductor for R = 2  and L = 2H.

V-i characteristics - power semiconductor devices, V- I Characteristics ...

V- I Characteristics When the peak  value of  applied  voltage is less than the break over   voltage  of triac  and no signal  is applied to the triac  it will block  both  pos

Communication network, Assuming that the receiver sends a XOFF signal when ...

Assuming that the receiver sends a XOFF signal when the receive buffer is P% full in order to avoid any data or packet loss.

RLC, a 49pf cap,a 50 uH inductor, and a 100 ohms resister are in parallel: ...

a 49pf cap,a 50 uH inductor, and a 100 ohms resister are in parallel: what is the resonance freq? And what is the complex impedance vector at 100MHZ?

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