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

Motor, What is the main function of the slip ring

What is the main function of the slip ring

Transistor hybrid model, Transistor Hybrid model:- Make Use of h - par...

Transistor Hybrid model:- Make Use of h - parameters to explain a transistor have the following benefits. a)      h - Parameters are real numbers that are up to radio frequ

Ac voltage controllers, Q. Explain AC voltage controllers? Common appli...

Q. Explain AC voltage controllers? Common applications for these controllers are found in fan, pump, and crane drives. Figure shows three-phase symmetrical ac voltage-controlle

Induction motor, principle and operation of a 3phace induction motor

principle and operation of a 3phace induction motor

Features of modern ic engines, The IC engine based automobiles have been bu...

The IC engine based automobiles have been built and sold for more than 100 years. Predominantly the fuels used for running these IC engines have been petrol and diesel. In recent t

The input output system - stepper motor , The Input Output System The ...

The Input Output System The input output  system provides  the physical  connection between  the equipment  and the PLC there are many  different kinds  of I/O cards  which ser

Define characteristics of discrete time systems - linear, Define Characteri...

Define Characteristics of Discrete Time Systems - Linear? A discrete-time system is said to be linear if it obeys the principles of superposition. That is, the response of a li

Mention some characteristics of transistors, Q. Mention some characteristic...

Q. Mention some characteristics of transistors? · When a NPN transistor is working, there is always a constant 0.6 volt drop between the base and emitter, i.e., the base is alw

What do you mean by external data bus, What do you mean by external data bu...

What do you mean by external data bus? External Data Bus: A bus which connects a computer to the peripheral devices. The microprocessor-8088 has 16-bit registers, 20-bit add

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