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

Actual loading method, Actual Loading Method This method is employed c...

Actual Loading Method This method is employed commonly for testing of single phase meters within laboratory. On a meter testing bench that is equipped along with several taps

Determine the fall-off rate, Q. A low-pass filter circuit is shown in Figur...

Q. A low-pass filter circuit is shown in Figure. Using a PSpice program and PROBE, obtain the Bode magnitude plot for the transfer function ¯H(f) = ¯V out / ¯V in for the frequ

Solving electrical circuits, i need help solving an electrical circuit, usi...

i need help solving an electrical circuit, using kirchoffs laws, it a diamond shape with one voltage source

Op, Find the current through capacitor by superposition therom

Find the current through capacitor by superposition therom

Synchronization, Synchronization:  Whatever type of weep is used, it must ...

Synchronization:  Whatever type of weep is used, it must be synchronized with the signal being measured. Synchronization has to be done to obtain a stationary pattern. This requir

Explain multimedia extensions technology, Explain MMX Technology. Mult...

Explain MMX Technology. Multimedia extensions technology adds 57 newly instructions to the instruction set of the Pentium - 4 microprocessors. The Multimedia extensions techno

Explain dielectric constant, Explain Dielectric constant. Dielectric co...

Explain Dielectric constant. Dielectric constant: This is also termed as 'Permittivity'. All insulating material possesses an electrical capacitance. Such capacitance of unit d

Pneumatics, Design and draw a circuit using the cascade system to operate t...

Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinders

Chemistry, explain why entropy of a gas increases with volume and tempeart...

explain why entropy of a gas increases with volume and tempearture

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