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

Pneumatics, 3. Design and draw a circuit using the cascade system to operat...

3. Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinde

Emi, what is strain gage

what is strain gage

Comperators, How to build a 6 bit comparator?

How to build a 6 bit comparator?

Explain the term- electronic mail, Explain the term- Electronic Mail (email...

Explain the term- Electronic Mail (email) Another form of communication is through email. This has the below advantages over video conferencing: -  There are no language pro

Determine the range of the step size, 1. (a) Consider a sinusoidal signal m...

1. (a) Consider a sinusoidal signal m(t) = A cos(2 Π f m t) applied to a delta modulator with step size . Determine the range of the step size so that slope overload will be avoide

Design a matching network of balanced stubs, A certain cellular telephone a...

A certain cellular telephone antenna has an input impedance at f=1.0 GHz modeled by a shunt R-C combination, with R=200Ω and C=2.0pF. Because of manufacturing restrictions, you can

What are the constructional features of dc machines, Q. What are the Constr...

Q. What are the Constructional Features of DC Machines? Adc generator ormotormay have asmany as four fieldwindings, depending on the type and size of the machine and the kind o

Determine the actual attenuation , (a) Design a passive high pass filter th...

(a) Design a passive high pass filter that has a maximally flat response with a 50  Ω resistive load. Assume that the cut-off frequency is 40 kHz and that at a frequency of 25 kHz,

How does expert system works, How does Expert system works? System uses...

How does Expert system works? System uses a rule base and an inference engine together to simulate human reasoning whenever analysing a problem and arriving at a conclusion. To

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