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

Dc motor control, how thyristor work in speed control??

how thyristor work in speed control??

Find the diode current and voltage in given circuit, We shall demonstrate l...

We shall demonstrate load-line analysis to find the diode current and voltage, and then compute the total power output of the battery source in the circuit of Figure (a), given the

Find the impedance of the series combination, Q. An RL series circuit carri...

Q. An RL series circuit carries a current of 0.02 cos 5000t A. For R = 100  and L = 20 mH, find the impedance of the series combination and determine the voltage across the series

Sketch the frequency response, Q. For the circuits shown in Figure, sketch ...

Q. For the circuits shown in Figure, sketch the frequency response (magnitude and phase) of ¯V out / ¯V in .

Decoding logic, show the decoding logic for 11011 code if an active high an...

show the decoding logic for 11011 code if an active high and an active low output required

What is meant by polling, What is meant by polling? Polling or device p...

What is meant by polling? Polling or device polling is a process which recognizes the device that has interrupted the microprocessor.

Calculation of aggregate technical and commercial loss, Calculation of Aggr...

Calculation of Aggregate Technical and Commercial Loss The concept of AT&C loss was introduced within 2001-02. The AT&C losses are presently in the range of 18% to 62% in seve

Explain circuit with capacitive load, Circuit with capacitive load Capa...

Circuit with capacitive load Capacitors which obey the relationship of equation are linear capacitors, since the potential difference among the conductive surfaces is linearly

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