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

Lc filter, LC Filter To the load resistance R L the ripple factor i...

LC Filter To the load resistance R L the ripple factor is directly proportional in the inductor filter and inversely proportional to R L in the capacitor filter. Hence i

Combinational-sequential, Design combinational-sequential electronic logic ...

Design combinational-sequential electronic logic gate circuit for a car wash....

Customer data management- power supply, Customer Data Management- Power Sup...

Customer Data Management- Power Supply The concept of data warehouse and data mining could be extremely useful for the management of customer data. A data warehouse is a power

\, Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4...

Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4= 8, I5= 7. Determine: Ieq, Req, and V3.

Explain the effect of a dielectric on behaviour of capacitor, Explain the e...

Explain the effect of a dielectric on the behaviour of a capacitor. If two parallel plates are separated by a distance 'd' (meters) in vacuum and are kept at a potential diffe

Principle of three-phase synchronous machines, Q. Principle of Three-phase ...

Q. Principle of Three-phase synchronous machines? In fact, with very few exceptions, three-phase synchronous machines are most commonly used for power generation. In general, t

Split-phase or resistance-split-phasemotor, Q. Split-phase or resistance-sp...

Q. Split-phase or resistance-split-phasemotor? Split-phase or resistance-split-phasemotors: Split-phasemotors have two statorwindings (amainwinding and an auxiliarywinding)with

Illustrate about crossbar exchange, Q. Explain crossbar exchange, with all ...

Q. Explain crossbar exchange, with all call processing steps and diagrams. Ans: The basic concept of crossbar switching is to provide a matrix of n x m sets of contacts with

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