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

Khalid, hello, I do have some exams or test samples which are related to co...

hello, I do have some exams or test samples which are related to control and procces engineering. Can you have them solved with ilestrastion of all solving steps

Determine the sampling rate, Q. If an analog message that has a spectral ex...

Q. If an analog message that has a spectral extent of 15 kHz is sampled at three times the Nyquist rate, determine the sampling rate.

The basic operation of battery, The basic operation of battery  A simpl...

The basic operation of battery  A simple cell comprises two dissimilar conductors (electrodes) in an electrolyte. Such a cell comprises copper and zinc electrodes. An electric

Explain working of biased clamper, Q. Explain working of Biased Clamper? ...

Q. Explain working of Biased Clamper? Biased Clamper : The circuit of a positively biased clamper is shown in the figure. During the negative half cycle of the input signal the

Opto couplers, Is there an opto-coupler that has a blocking voltage, VRRM, ...

Is there an opto-coupler that has a blocking voltage, VRRM, of greater than 800 volts? Perhaps, 1200 or 1600 volts? The manufacturer?

Block diagram convert into Electrical Circuit, i have block diagram and i n...

i have block diagram and i need to convert it into Electrical circuit and on electrical circuit need to apply state space method.

Determine the electromagnetic force on the plunger, Q. Consider the electro...

Q. Consider the electromagnetic plunger shown in Figure. The λ-i relationship for the normal working range is experimentally found to be λ = Ki 2/3 /(x+t), where K is a constant. D

Find the antenna temperature, Q. If an antenna has an available noise power...

Q. If an antenna has an available noise power of 1.6 × 10 -15 W in a 1-MHz bandwidth, find the antenna temperature.

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