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 is the use of latch signal on the ad0-ad15 bus, What is the  use of l...

What is the  use of latch signal on the AD0-AD15 bus in an 8086 system? Latch signal is used to load the data those are fetched from memory to bus.

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

Responses to exponential excitations, Responses to Exponential Excitations ...

Responses to Exponential Excitations Let us consider Aest as a typical exponential excitation in which A is a constant and s is a complex- frequency variablewith a dimension of

Show how a 16-to-1 multiplexer can be obtained, Q. Using two 8-to-1multiple...

Q. Using two 8-to-1multiplexers and one 2-to-1multiplexer, show how a 16-to-1 multiplexer can be obtained in the form of a block diagram.

Explain indexed addressing in 8051, Probelm: (a) Explain indexed addre...

Probelm: (a) Explain indexed addressing in 8051. (b) How does the 8051 distinguish between a byte address and a bit address? (c) How do open-loop and closed loop appli

Modern Control Theory, I have all my report about Vehicle suspension system...

I have all my report about Vehicle suspension systems . But I need the simulation and hardware test for this project. I need you to do it and give me the observation.

Draw the timing diagram for the first input pulses, Given the block diagram...

Given the block diagram of a synchronous counter shown in Figure (a), draw the timing diagram for the first input pulses, with Q 1 , Q 2 , and Q 3 initially at 0.

Internalization of KPI Process, Internalization of KPI Process It is t...

Internalization of KPI Process It is the responsibility of management to ensure in which the focus of all the participants in performance management and KPI exercise is there

Assembly languages - second generation language, Assembly Languages  ( Sec...

Assembly Languages  ( Second Generation Language) To overcome  the difficulty of machine  language assembly  language  was  designed. After  facing the  difficulty of machine

Digital signal processing, what can I do to sharpen the roll off and flatte...

what can I do to sharpen the roll off and flatten the passband of a finite impulse response filter

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