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 voltages, Question: a) For the circuit shown in figure ...

Question: a) For the circuit shown in figure (i) Determine the voltages across R1 and R2 and (ii) Determine the current which flows across R1 and R2. Both D1 and D2 a

Dual beam, explane the special features of dual beam?

explane the special features of dual beam?

Determine the amplitude - radar system, Suppose the ambiguity function of s...

Suppose the ambiguity function of some waveform x ( t ) of duration ζ = 1 millisecond is given by   (NOTE: this is not a possible AF because it is not time-limited to

Binary division , Binary  Division Similar  to multiplication  divisi...

Binary  Division Similar  to multiplication  division can be seen  multiple  subtractions.  For example  if we have to divide 9 by 4  we can subtract 4 ,2,  times  until is is

Draw the logic diagram of an sr latch, Q. Draw the logic diagram of an SR l...

Q. Draw the logic diagram of an SR latch using only NAND gates, and obtain the truth table for that implementation.

Explain series circuit, Series circuit Total resistance, R T = R1 + R2...

Series circuit Total resistance, R T = R1 + R2 + R3 The current I is the same in all parts of the circuit , I = I 1 = I 2 = I 3 The voltage drop at each resistor, V1,

..analong course design, Askhigh precision linear amplifier question #Mini...

Askhigh precision linear amplifier question #Minimum 100 words accepted#

Explain balanced wye-connected load, Balanced Wye-Connected Load Let us...

Balanced Wye-Connected Load Let us consider a three-phase, four-wire 208-V supply system connected to a balanced wye connected load with an impedance of 10 20° , as shown in F

Magnetic Bond Method:, how does the magnetic bond method work? Application ...

how does the magnetic bond method work? Application of the magnetic bong method & advantages and disadvantages of the magnetic bond method.

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