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

Draw a state diagram of 3-bit ripple counter, The block diagram for a 3-bit...

The block diagram for a 3-bit ripple counter is shown in Figure (a). Obtain a state table for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.

the battery and capacitor combination for power backup, Why do wenot see t...

Why do wenot see the battery and capacitor combination for power backup? Ans) There are "super capacitors" that are used for power backup - they are well-organized for short-te

Explain polymers and their applications, Explain Polymers and their applica...

Explain Polymers and their applications. Polymeric materials or plastics contain a large group of organo or organic metallic high molecules compound. The common properties of s

Probability assignment, how probability help in the field of electrical tel...

how probability help in the field of electrical telecommunication engineering?

Mobile communications, Problem: (a) Compare the different MAC schemes...

Problem: (a) Compare the different MAC schemes, namely FDMA, SDMA, TDMA and CDMA. (b) Describe with help of diagrams the different phenomena involved in multipath propaga

Basic electromagnetic principles, It has been known for a thousand years or...

It has been known for a thousand years or more (originating in China) that certain (magnetic) materials would always orientate    themselves in a  particular direction if suspended

Intrinsic material, Int r insic Material A perfect semicon...

Int r insic Material A perfect semiconductor crystal with no impurities or lattice defects. No carriers at 0 K, since the valence band is completely full and t

Digital frequency meter, Q. Explain digital frequency meter. or E...

Q. Explain digital frequency meter. or Explain principle of digital frequency meter and discuss utility of time base selector with suitable diagrams. Sol. Digital Fr

Effective value for periodic waveforms, Q. With a direct current of I A, th...

Q. With a direct current of I A, the power expended as heat in a resistor of Ris constant, independent of time, and equal to I 2 R. Consider Problem and find in each case the effe

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