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

Derive an expression for the electric force, Q. A two-winding system has it...

Q. A two-winding system has its inductances given by where k 1 and k 2 are constants. Neglecting the winding resistances, derive an expression for the electric force when

Open-loop control system, Q. Open-loop control system? An open-loop sys...

Q. Open-loop control system? An open-loop system is one in which the control action is independent of the output or desired result, whereas a closed-loop (feedback) system is o

Demultiplexer, How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates ...

How can i build 1-16 DEMUX using 1-8 DEMUX with logic gates only ?

Determine the admittance of the parallel combination, Q. The voltage across...

Q. The voltage across a parallel combination of a 100- resistor and a 0.1-µF capacitor is 10 cos(5000t +30°) V. Determine the admittance of the parallel combination and find the c

Working with various instructions using debug, The purpose of this experime...

The purpose of this experiment is to introduce you to a powerful 80x86 assembly/machine language utility called DEBUG. Preparing Your DEBUG Environment If you have an older

Vhdl, how to construct universal shift register using D-flipflop and mux??

how to construct universal shift register using D-flipflop and mux??

Show process of power transmission and distribution, Q. Show Process of Pow...

Q. Show Process of Power transmission and distribution? The structure of a power system can be divided into generation (G), transmission, (T), and distribution (D) facilities,

Explain procedure to test the power line, Explain procedure to take shut do...

Explain procedure to take shut down and to test the power line before starting work? Ans: Study the circuit and find out the circuit breaker to be opened. Open and lock the c

Compute the maximum internal torque, For the motor speci?ed in figure,  com...

For the motor speci?ed in figure,  compute the following: (a) The load component I' 2 of the stator current, the internal torque T, and the internal power P m for a slip of 0.

Determine the value of the load resistance, Q. A60-Hz, 100-kVA, 2400/240-V(...

Q. A60-Hz, 100-kVA, 2400/240-V(rms) transformer is used as a step-down transformer from a transmission line to a distribution system. Consider the transformer to be ideal. (a) F

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