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

Calculate the thermal velocity of an electron, Question: a) Describe t...

Question: a) Describe two mechanisms by which electrons can be excited from the valence band to the conduction band? b) Given that the direct-band gap energy for Gallium N

Bipolar junction transistor, Bipolar Junction Transistor: Transistor ...

Bipolar Junction Transistor: Transistor construction: the emitter layer is heavily doped, the base is light doped and the collector is only lightly doped. Outer layer has wi

Transistor, describe the compensation technique for both Vbe and Icbo

describe the compensation technique for both Vbe and Icbo

Motor, delta connectino purpose

delta connectino purpose

What are program invisible registers, What are program invisible registers?...

What are program invisible registers? The global and local descriptor tables are determined in the memory system. So as to access and give the address of these tables, the prog

Define the universal property of nand and nor gates, Define The universal p...

Define The universal property of NAND and NOR Gates? The NAND and NOR gates are called universal gates, because any gate can build by using these two gates. The univers

Sinusoidal inverter, i am going to make a sinusoidal inverter as my final y...

i am going to make a sinusoidal inverter as my final year project kindly help me in this regard.How can i make this project?

Explain the working of an npn transistor, Explain the working of an npn tra...

Explain the working of an npn transistor. Working of npn transistor: In an npn transistor is demonstrated in the figure. The emitter base junction is forward biased whereas

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

Game theory, an example and code for bargaining problem

an example and code for bargaining problem

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