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

What would the cutoff frequency, Q. The cutoff frequency of a dominant mode...

Q. The cutoff frequency of a dominant mode in an air-?lled rectangular waveguide is 3 GHz. What would the cutoff frequency be if the same wave - guide were ?lled with a lossless di

Drawing, #question what are the types of lines used there and their applica...

#question what are the types of lines used there and their application ..

Frequency synthesized signal generator, Q. what is frequency synthesized si...

Q. what is frequency synthesized signal generator? Describe its circuit in detail. OR Give the circuit details of frequency synthesizer also explain its working. OR

Give illustration of and and or gate - microprocessor, Give Illustration of...

Give Illustration of AND and OR Gate - Microprocessor? Illustration: The image below demonstrate the 4 possible inputs into a 2-input AND gate and all the corresponding outputs

Duty cycle of the system, The report should contain all of the information ...

The report should contain all of the information detailed below together with your analysis of the circuit and any conclusions. The report should contain the code for your simulati

Calculate the pay back of the project, Problem: Jyoti Textile is consid...

Problem: Jyoti Textile is considering whether to add a new product to its range. Machinery costing $280,000 would have to be bought at the start of the project (Year 0). The pr

How address and data lines are demultiplexed in 8085, How address and data ...

How address and data lines are demultiplexed in 8085? AD0-AD7 lines are multiplexed and the lower half of address A0-A7 is available only during T1  of the machine cycle. This

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