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 per-unit slip at full load, Q. A three-phase, 60-Hz induction m...

Q. A three-phase, 60-Hz induction motor runs at almost 1800 r/min at no load, and at 1710 r/min at full load. (a) How many poles does the motor have? (b) What is the per-unit

#title. electronic project for invention, I need assistance in building a c...

I need assistance in building a circuit for my invention ,I am a electronic tech with limited knowledge but designing and building a proto model is a little out of my expertise ce

Induced voltage and inductance, Experiments conducted by Faraday and others...

Experiments conducted by Faraday and others using current carrying coils resulted in 'The Laws of Electromagnetic Induction' which state: 1)  'If the magnetic flux threading throu

Transfer function of radiator, hi, i want to know the transfer function of ...

hi, i want to know the transfer function of a radiator

Define the signals in time domain, Define the Signals in Time Domain? T...

Define the Signals in Time Domain? The time domain is the type of visualization that most people are familiar with. This method shows variations of a signal with time. The most

Block diagram of digital control system, The block diagram of Figure is a f...

The block diagram of Figure is a functional representation of a type of digital control system, in which G and H serve the same function as in any feedback system. Note that the er

Draw the complete circuit of a dual voltage source, Q. Draw the complete ci...

Q. Draw the complete circuit of a dual voltage source using 7805 and 7905. A voltage regulator is a circuit that supplies a constant voltage regardless of changes in load curre

Find imax and imin, Q. (a) In the circuit shown in Figure the zener diode (...

Q. (a) In the circuit shown in Figure the zener diode (with zero zener resistance) operates in its reverse breakdown region while the voltage across it is held constant at VZ and t

Zero flag - registers , Zero Flag - Registers If the  result of any  a...

Zero Flag - Registers If the  result of any  arithmetical  or logical  operation in the accumulator  is zero i ,e  all the bits  of accumulator  ( with  some exceptions )  are

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