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

Electrical and electronic principles, 12. A capacitor is to be constructed ...

12. A capacitor is to be constructed so that its capacitance is 0.2µF and to take a p.d. of 1.25kV across its terminals. The dielectric is to be mica which, after allowing a safety

What are the blocks of the microprocessor depends system, What are the bloc...

What are the blocks of the microprocessor depends system? The blocks of the microprocessor depends system are: The Memory and I/O System The Data Operating System

Explain various functions of telephone switching systems, Q. Explain variou...

Q. Explain various functions of telephone switching systems. Ans: Functions of telephone switching systems are: (i)  Attending: The system should be continually monito

Vector calculus in electromagnetic theory, can you please briefly explain a...

can you please briefly explain about significance of the word direction in vectors with some valid points

Explain the meaning of synchronous counters, Explain the meaning of Synchro...

Explain the meaning of Synchronous Counters? In the synchronous counters the clock inputs of all the flip-flops are connected together and are triggered by the input pulses, the

Multiple tariff meters or tou meters, Multiple Tariff Meters or TOU Meters ...

Multiple Tariff Meters or TOU Meters Time of use metering facilitates load control and planning on the part of utilities. This is efficiently achieved using a concept known as

Explain a tube well, Q. Explain a Tube Well? Method of restoring or inc...

Q. Explain a Tube Well? Method of restoring or increasing the capacity of tube well is known as developing a Tube Wells. This is done to eliminate bridging of fine particles on

Case 1 b>a - program description , Case 1 (B>A) Suppose XX = 01H ( s...

Case 1 (B>A) Suppose XX = 01H ( stored in a) and YY = 03H (stored  in B).then carry flag  will set by  CMP  instruction since B>A  in this case JNC  will not  transfer the e

Bad workmanship, Bad Workmanship Bad workmanship contributes important...

Bad Workmanship Bad workmanship contributes importantly towards increasing distribution losses. Efforts should, thus, be made to have the best probable workmanship. In this co

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