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

In given block diagram find geq, Q. Show that the block diagram of Figure c...

Q. Show that the block diagram of Figure can be reduced to the form of Figure. Find G eq (s) and H eq (s).

Determine the resonant frequency and bandwidth, Q. A gyrator is sometimes u...

Q. A gyrator is sometimes used in integrated circuits to simulate inductances. Consider the circuit of Figure consisting of a gyrator. (a) Show that the impedance as seen to the

Basic & Advance Building Wiring, Hello may i know if it is possible for me ...

Hello may i know if it is possible for me to teach online on electrical maters?

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

Write discussion on Construction and working of analog type, Write discussi...

Write discussion on Construction and working of analog type storage oscilloscope

Sketch the phasor diagram showing all the voltages, Q. A balanced wye-conne...

Q. A balanced wye-connected load with a per-phase impedance of 4 + j3  is supplied by a 173-V, 60-Hz three-phase source. (a) Find the line current, the power factor, the total

Power, what is reactivecpower

what is reactivecpower

Determine the ratio of full-load current, The rotor of a wound-rotor induct...

The rotor of a wound-rotor induction motor is rewound with twice the number of its original turns,with a cross-sectional area of the conductor in each turn of one-half the original

Forward and reverse-active in bipolar junction transistor, Forward and Reve...

Forward and Reverse-active in Bipolar Junction Transistor: Forward-active (or simply, active): The base-collector junction is reverse biased and base-emitter junction is

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