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

Importance of transistor, Importance: The transistor is the main activ...

Importance: The transistor is the main active component in practically all current electronics, and is considered through many to be one of the greatest inventions of the 20 t

Circuit, i need to talk to expert asap.

i need to talk to expert asap.

How does expert system works, How does Expert system works? System uses...

How does Expert system works? System uses a rule base and an inference engine together to simulate human reasoning whenever analysing a problem and arriving at a conclusion. To

Create a time diagram - conveyer, When the PLC is in the RUN mode it will s...

When the PLC is in the RUN mode it will switch ON the conveyer so it will run continuously. This project is divided into four outcomes: (a)    Detect block on entry, close

Electrical/electronic engineering project, i need a project creating in ele...

i need a project creating in electronic/electrical engineering at HNC level, 3000 words Harvard referencing. it can be about anything in this field or i can give a suggestion

Selection of right- flex in electricity and gas hazards, Selection of Right...

Selection of Right- Flex : It is also important that the flex we choose is appropriate to the appliance used. Like fuses, the cables and flexes are also rated according to their

Transistor Amplifier, I need help designing a BJT amplifier with that meets...

I need help designing a BJT amplifier with that meets the following parameters: voltage gain greater than 300, Ic(Vce=0)=2uA, Vcc=20V.

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